This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

directories for temporary files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]