lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV LYNX, change temp download dir from /tmp


From: Mark H. Wood
Subject: Re: LYNX-DEV LYNX, change temp download dir from /tmp
Date: Tue, 7 Apr 1998 08:36:47 -0500 (EST)

On Mon, 6 Apr 1998, Doug Kaufman wrote:

> On Mon, 6 Apr 1998, Mark H. Wood wrote:
> 
> > > Set "LYNX_TEMP_SPACE" to the directory you want in your environment.
> > 
> > Instead of the standard TMPDIR ?  :-(
> 
> The /tmp/ directory is hardcoded into lynx at time of compilation in
> USERDEFS.H. See this extract:

So should I roll up my sleeves and fix this, or will I be met with a 
storm of protest?  The TEMP_SPACE compiletime variable should at most be 
used as a fallback if tempnam(3) is unavailable on the system built for.  
(tempnam(3) will follow the environment variable TMPDIR if you define it, 
or a given directory if not NULL, or the value of the Posix symbol 
P_tmpdir, or "/tmp", in that order.)  I wouldn't *remove* 
LYNX_TEMP_SPACE, of course, but it shouldn't be needed and could be 
marked as a deprecated feature to be removed someday.

I have enough pain from DOS/Windows systems lugging around various vendors'
MYTEMP/YOURTEMP/HISTEMP, in addition to TEMP/TMP since Microsoft couldn't 
even agree with itself about how to spell this.  I hate to see the same 
sort of fragmentation happening all over again on another OS.

-- 
Mark H. Wood, Lead System Programmer   address@hidden
Longing for the simplicity of SYS$SCRATCH:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]