directories for temporary files
Reinhard Kotucha
reinhard.kotucha@web.de
Sat Mar 7 03:44:00 GMT 2015
Hi,
first of all, thanks to everyone involved in cygwin development.
However, there is a bug in /etc/profile. The variables TMP and TEMP
are set to /tmp but they are absolutely useless. These variables are
not used by any program. Thus all programs write temporary files to
/tmp, regardless of the settings TMP or TEMP.
The appropriate variable on Unix is TMPDIR. It's recognized by
programs on *all* Unix systems.
You can confirm this easily. Create a directory /tmp/foo and set
TMPDIR=/tmp/foo. You'll see that all temporary files go to the
specified directory then. No chance with TMP or TEMP.
Regards,
Reinhard
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha@web.de
------------------------------------------------------------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list