X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:mime-version:content-type
	:content-transfer-encoding:message-id:date:to:subject:reply-to;
	 q=dns; s=default; b=x9bmReJ7KjpWAISrlJam2mwSsFrvahfPE1ZcEyW6d+g
	8nYdbDuX4CAczp4w1yFHfshhOFGV+YapMvxqSc36md81EX+1QQm4LjJJ9KaC9ZrK
	zLaWk/Sp7tknW+rWac1CCJogBennMCueo1gMSeMJOgkSwUzPEiz02zvHc0LL1LL8
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:mime-version:content-type
	:content-transfer-encoding:message-id:date:to:subject:reply-to;
	 s=default; bh=qyBc6moCpGOIMtGCr0QKkJC7Pzs=; b=TMmmVfyxbqVyL5/S2
	gsUNNq+zl2jNiZH9pqY2AVso3uGDtMVpLJ+PsctSpWE9KGCKfojrCmawMK9deJ49
	uJmjQJe1HsVWX58mex1XahWDk2S0TrZCgMVaH5a3hUi1THIGpX1U6Xl1QJD2K2tL
	XNH2+kzKaCK+gbPNFIYuKUU544=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mout.web.de
From: Reinhard Kotucha <reinhard.kotucha@web.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <21754.10842.551067.251606@zaphod.ms25.net>
Date: Fri, 6 Mar 2015 23:29:46 +0100
To: cygwin@cygwin.com
Subject: directories for temporary files
Reply-to: reinhard.kotucha@web.de
X-UI-Out-Filterresults: notjunk:1;

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

