delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/16/23:33:38

From: sean AT mcneil DOT com (Sean McNeil)
Subject: RE: bug report
16 Feb 1997 23:33:38 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC1C56.3BA31540.cygnus.gnu-win32@mcneil.mcneil.com>
Mime-Version: 1.0
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Andres Takach'"
<takach AT ece DOT iit DOT edu>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I don't know if anyone has addressed this reported problem, but apparantly the stream
I/O routines are following the rule of assuming files are text unless fopen has the "b"
in the mode.  The posted code works just fine when opened with "wb" and "rb".
This appears to be consistent with what I read in the man pages regarding fopen.
This is not a bug, then, but the expected behaviour.

-
For help on using this list, 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