delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/30/18:38:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B14573C.3040409@alice.it>
Date: Tue, 01 Dec 2009 00:37:32 +0100
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Robert Pendell wrote:
> P.S. - On linux (when I tested) TEMP, TMP, and TMPDIR were not set and
> patch defaulted to /tmp.

I noticed that too...

Ken Brown wrote:
> That's precisely why I suggested unsetting TEMP and TMP in /etc/profile. Then things should work as in linux.

Indeed. But a question emerges: what does it happen if one starts a 
Windows application, which needs TEMP or TMP, from Cygwin?

For example, GSview (*) can view ps.bz2 or pdf.bz2 files uncompressing 
them into $TEMP, so it fails if TEMP is not defined, and

$ gsview foo.pdf.bz2

is broken!

This is only an example of problems which can emerge unsetting TEMP.

Ciao,
Angelo.

---
(*) http://pages.cs.wisc.edu/~ghost/gsview/get49.htm

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019