Hello, In article <CAC8=1eromfu1vj1wqnkmmc4nr9jtjvzo4uc4i7tumxsuwsk...@mail.gmail.com> ashimkap...@gmail.com writes: > I have seen these 2 threads (where I learnt the need to setup the TMP > variable and to make it writable): > > https://svn.haxx.se/dev/archive-2007-08/0607.shtml > https://svn.haxx.se/users/archive-2009-11/0040.shtml
https://svn.haxx.se/dev/archive-2007-08/0607.shtml saids about the order to search temporary directory: >> Subversion uses an APR function (which we donated to that project) for >> finding a temporary directory. It does so by trying to find a writable >> directory using the following search path: >> >> $TMP >> $TEMP >> $TMPDIR >> "C:\TEMP" (windows only) >> "SYS:\TMP" (netware only) >> "/tmp" >> "/var/tmp" >> "/usr/tmp" >> P_tmpdir (POSIX define) >> `pwd` However, it was changed in r818841 (before apr 1.4) in file_io/unix/tempdir.c in APR to: $TMPDIR $TMP $TEMP "C:\TEMP" (windows only) "SYS:\TMP" (netware only) "/tmp" "/var/tmp" "/usr/tmp" P_tmpdir (POSIX define) `pwd` (https://svn.apache.org/viewvc?view=revision&revision=818841) So $TMPDIR will be used if it is set, although it might not be user case. Cheers, -- Yasuhito FUTATSUKI <futat...@yf.bsdclub.org>