Mail Archives: djgpp/1997/10/09/03:17:04
Thomas Demmer wrote:
> 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 ;-)
...
> So, unless there is a good reason to keep things
> as they are, I propose to change the mode.
This is definitely a bug. ANSI C 7.9.4.3 states that the file opened
from tmpfile is to be opened in binary mode.
Either way, DJ already says he's fixed it.
--
Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
Alcyone Systems / http://newton.alcyone.com/
San Jose, California, United States / icbm://+37.20.07/-121.53.38
\
"After each war there is a little / less democracy to save."
/ Brooks Atkinson
- Raw text -