www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/02/13:02:02

Date: Thu, 2 Nov 1995 19:41:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: kagel AT ts1 DOT bloomberg DOT com
Cc: jkmarsha AT socs DOT uts DOT edu DOT au, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: CR/LF pairs... NO NO NO!

On Thu, 2 Nov 1995 kagel AT quasar DOT bloomberg DOT com wrote:

> FYI - Both the binary flag ("wb"/"rb") to fopen() and the O_BINARY flag to
> fopen and setmode() are ANSI 'C' compatible so all ANSI compilers, even on
> UNIX, recognize these even when they ignore them.  Using these, therefore, will
> not impact code portability.

I know it for a long time, so this makes two of us.  Now if we just could 
convince Unix programmers to use it, many porting problems would 
magically disappear...

- Raw text -


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