delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/20/03:23:56

From: Christopher Heng <cyfhsite!chris>
Subject: Re: bug tmpnam() in djgpp 111m4
To: djgpp <djgpp AT sun DOT soe DOT clarkson DOT edu>
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 |
+-------------------+-----------------------------------+

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019