mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Handle textmode translation where CR is at the end of a request and the LF is
at the beginning of the next request svn path=/trunk/; revision=4039
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: read.c,v 1.9 2002/11/24 18:42:22 robd Exp $
|
||||
/* $Id: read.c,v 1.10 2003/01/19 01:05:03 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -86,6 +86,9 @@ size_t _read(int _fd, void *_buf, size_t _nbyte)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
if (found_cr) {
|
||||
cr++;
|
||||
}
|
||||
/* ignore the carriage returns */
|
||||
_rbyte -= cr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user