delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/03/08:00:33

From: John_Spadafora/Papyrus DOT PAPYRUS AT papy DOT com
Subject: Re: ASCII and BINARY files. Why?
3 Feb 1997 08:00:33 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9702031516.AA5442.cygnus.gnu-win32@nsx.papy.com>
Original-To: gnu-win32 AT cygnus DOT com
Mime-Version: 1.0
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Jim Balter and Alex Stewart,

Thanks for the great exchanges you guys have been making.  They have
been the most informed exchanges in this discussion and also, the most
entertaining.

It seems to me that Jim has successfully argued that GNU conforms to
POSIX and that POSIX (and GNU) both conform to ANSI C, but I think
Alex has made a very good point.

The GNU authors should be sensitive to the fact that the GNU programs
have been (and will be) ported to many NON-POSIX systems.

Why not open files with the "b" flag when expecting binary operation even
though, on POSIX systems, there is no distinction?

Adding the "b" flag does not harm POSIX or ANSI C compliance in any way,
yet allows for easier porting of GNU programs to NON-POSIX systems.
While this change is NOT a bug fix, per say, it is a beneficial modification.

I'm surprised, Jim, to hear that you feel the GNU authors would oppose this
kind of modification.

--John


-
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