diff --git a/reactos/lib/msvcrt/io/read.c b/reactos/lib/msvcrt/io/read.c index 814f8b6fb1d..6c4b817a945 100644 --- a/reactos/lib/msvcrt/io/read.c +++ b/reactos/lib/msvcrt/io/read.c @@ -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; }