X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4B14573C.3040409@alice.it> References: <4B14573C DOT 3040409 AT alice DOT it> Date: Mon, 30 Nov 2009 20:53:53 -0500 Message-ID: Subject: Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67 From: Robert Pendell To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mon, Nov 30, 2009 at 6:37 PM, Angelo Graziosi wrote: > 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. > Actually I had thought about that and I found that if you intentionally unset all the variables it defaults back to the system defined one which is dependent on the current user in Windows. Basically what TEMP and TMP is defined to in Windows itself. This is like the behavior in Linux. -- 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