This is the mail archive of the
mailing list for the GCC project.
Re: More xm-*.h cleanup
On Mon, Feb 26, 2001 at 02:44:00PM -0500, DJ Delorie wrote:
> > __MSDOS__
> This is defined by all known MS-DOS-hosted compilers.
Right, so there's no need to define it by hand.
> If you unlink
> an open file on an MS-DOS-based file system, you corrupt the disk.
> Very dangerous.
The change you quote causes us never to unlink the temporary file
until after it's closed. We used to unlink it ahead of time
on Unixy systems.
I'm not clear why we don't just use tmpfile() here, but there is
doubtless some good reason (e.g. tmpfile not existing in some