This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: unexpected behavior of read() under win95


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]