X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4BBE0C53.9030905@alice.it>
Date: Thu, 08 Apr 2010 19:03:15 +0200
From: Angelo Graziosi <angelo.graziosi@alice.it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: Cygwin <cygwin@cygwin.com>
Subject: On TMP, TEMP... variables
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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

I remember that there was some discussion on December[*] regarding these 
environment variables. The conclusion was, if I remember correctly, that 
Cygwin, by default, *does not set* them, like GNU/Linux systems.

Indeed my Windows installation sets them but Cygwin shows that they *are 
not*:

$ echo $TEMP

$ echo $TMP

$ echo $TMPDIR

Now in http://cygwin.com/cygwin-ug-net/setup-env.html I read:

"In addition to PATH, HOME, and LD_LIBRARY_PATH, there are three other 
environment variables which, if they exist in the Windows environment, 
are converted to UNIX format: TMPDIR, TMP, and TEMP[...] If set, these 
variables will be used by some Cygwin applications, possibly with 
unexpected results."

These words seem to contradict the above statement. So, how is the 'matter'?

TIA,
Angelo.

---
[*] http://cygwin.com/ml/cygwin/2009-12/msg00046.html

--
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

