Date: Mon, 6 Oct 1997 20:22:22 -0400 (EDT) Message-Id: <199710070022.UAA02237@delorie.com> From: DJ Delorie 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() ? Precedence: bulk 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