This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: unexpected behavior of read() under win95
- To: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Subject: Re: unexpected behavior of read() under win95
- From: Sebastian Kuzminsky <kuzminsk at taussky dot cs dot colorado dot edu>
- Date: Mon, 26 Jan 1998 12:38:49 -0700
- cc: gnu-win32 at cygnus dot com
Fergus Henderson <fjh@cs.mu.OZ.AU> wrote:
] For text mode opens, read() is stripping out \r's.
It strips our \r when preceeded by \n, and it reports EOF on reading
0x1A... But, as you say, the O_BINARY flag makes it not mangle the data.
Thanks!
I will remember that not everyone is Posixally correct.
I will remember that not everyone is Posixally correct.
I will remember that not everyone is Posixally correct.
I will remember that not everyone is Posixally correct.
...
Sebastian
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".