bug-cvs
[Top][All Lists]
Advanced

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

Re: The $TEMP env var


From: Derek Robert Price
Subject: Re: The $TEMP env var
Date: Tue, 06 Apr 2004 14:23:24 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim.Hyslop wrote:

>Derek Robert Price wrote:
>
>>My XP only has TMP set.  Are you sure you or your IT department isn't
>>running a special script to set your TEMP?
>
>It's possible. I have a vanilla XP machine at home I can verify this on.


Thanks.  I think my XP here is vanilla enough that I'm not running
anything to *unset* $TEMP.

>>A quick google search shows that UNIX programs _do_ have a tendency to
>>honor one or more of $TMPDIR, $TMP, or $TEMP.  Is there a standard for
>>this?  _Should_ CVS be honoring whichever of them it finds first like
>>our documentation states?  If so, then would it be okay to honor all
>>three on Windows too just to avoid #ifdefs?
>
>I think it would be OK. I suspect the likelihood of an application using a
>TMPDIR variable to mean something other than "temporary directory" is
pretty
>low. (assuming the search order checks TMPDIR first).


As CVS is documented to check $TMPDIR first and is currently only
checking $TMPDIR, this is probably a reasonable idea.  I'll update the
source soon if nobody provides a reasonable objection.

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFAcvWcLD1OTBfyMaQRAiXVAJwNZyRaxvOsd24qZLw08/rpemBAGQCgwHnP
p4BvdHzuNpElj2nBsWVkqEY=
=VGa9
-----END PGP SIGNATURE-----






reply via email to

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