delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/06/20:27:48

Date: Mon, 6 Oct 1997 20:22:22 -0400 (EDT)
Message-Id: <199710070022.UAA02237@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De
CC: djgpp AT delorie DOT com
In-reply-to: <34389791.4780C29@LSTM.Ruhr-UNI-Bochum.De> (message from Thomas
Demmer on Mon, 06 Oct 1997 09:47:29 +0200)
Subject: Re: Flaw in tmpfile() ?

This has already been fixed in my local sources.

> Hi,
> I just stumbled across a little flaw in tmpfile(). It opens
> the file according to the current setting of _fmode either
> int text or binary mode. IMHO this should at least be mentioned
> in the docs ;-)
> 
> OTOH...
> Is there any reason why this cannot be silently changed
> to O_BINARY? Given, I write text to a binary file, the

- Raw text -


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