Mail Archives: djgpp/1999/04/03/16:27:32
>> opens in text? doesn't that kind of negate the effects of a temporary
file?
>
>According to ANSI/ISO 9899-1990, clause 7.9.4.3,
>
>"The tmpfile function creates a temporary binary file that will
automatically be
>removed when it is closed or at program termination. If the program
terminates
>abnormally, whether an open temporary file is removed is
>implementation-defined. The file is opened for update with "wb+" mode."
>
>Thus, an implementation of tmpfile() that opens the file in text mode would
not
>conform to the standard.
ah hah. so i'm not an insane moron. thankyou. so this was most likely
overlooked, since someone posted a message saying that this bug was
corrected in the latest library. (which i have yet to download.)
kind of an important bug, you know? although tmpfile() probably isn't used
much.
-={C}=-
- Raw text -