www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/26/11:45:38

From: kuzminsk AT taussky DOT cs DOT colorado DOT edu (Sebastian Kuzminsky)
Subject: Re: unexpected behavior of read() under win95
26 Jan 1998 11:45:38 -0800 :
Message-ID: <199801261938.MAA10679.cygnus.gnu-win32@taussky.cs.colorado.edu>
References: <19980125165121 DOT 16963 AT mundook DOT cs DOT mu DOT OZ DOT AU>
To: Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>
Cc: gnu-win32 AT cygnus DOT com

Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019