[cvsnt] Re: TEMPDIR
tmh at nodomain.org
Wed Mar 17 12:55:28 GMT 2004
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.
More information about the cvsnt