[cvsnt] Re: TEMPDIR

Tony Hoyle tmh at nodomain.org
Wed Mar 17 12:55:28 GMT 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Adam Gates wrote:

> in the file windows-NT/options.h it defines its default value:
> 
> #define TMPDIR_DFLT "c:\\temp"
> 
> it also defines in windows-NT/options.h:
> 
> #define TMPDIR_ENV "TEMP"
> 
> Anyway cvs was not working, it gave a strange error message to do with a
> temp filename. When I created a c:\temp it started working again. I had the
> environment variable "TEMP" defined to a valid directory but I did not have
> a "TMPDIR" defined.

TMPDIR isn't used at all - I don't have one (and have no c:\temp directory either).  Probably
something else got changed at the same time.

As you point out it's overridden in options.h to TEMP, which is used in preference.
Some of the system calls use TMP, so cvsservice.exe also sets that to the same value,
but nothing ever sets TMPDIR.

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook