From: Christopher Heng Subject: Re: bug tmpnam() in djgpp 111m4 To: djgpp Date: Wed, 20 Apr 1994 13:58:16 +0800 (SST) Reply-To: chris%cyfhsite AT csar DOT csah DOT com In a previous message, Pierre Willard wrote: > IMHO tmpnam() should try the following directories in that order : > > TMPDIR environment variable > P_tmpdir macro > /tmp > current directory For a DOS program, I would suggest that the implementation check the TMP and TEMP environment variables as well, since many DOS/Windows programs require them to be set. > Let me know your comments. > Regards > Pierre Willard > Regards, Chris Heng. -- +-------------------+-----------------------------------+ | Christopher Heng | Internet: chris%cyfhsite AT csah DOT com | | Singapore | csah.com!cyfhsite!chris | +-------------------+-----------------------------------+