delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 29 Feb 2012 02:51:14 +0400 |
From: | Andrey Repin <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <1113646302.20120229025114@mtu-net.ru> |
To: | Corinna Vinschen <cygwin AT cygwin DOT com> |
Subject: | Re: 1.7.10/1.7.11: .Net programs started from a cygwin console may fail. |
In-Reply-To: | <20120228141754.GA6518@calimero.vinschen.de> |
References: | <4F4BA00E DOT 2020806 AT prover DOT com> <20120228125601 DOT GC23440 AT calimero DOT vinschen DOT de> <CAG_2cTnWAJpdHw5m8f_VSAmRy9-R-_C6qfD74Me7Sv7OSjwRkw AT mail DOT gmail DOT com> <20120228141754 DOT GA6518 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Greetings, Corinna Vinschen! > Dead on, thanks! The definitions of tmp and temp in /etc/profile result > in a double definition of the %TMP% and %TEMP% dos variables from the > .Net applications POV and it's too dumb to handle that gracefully. > So the solution is, either we drop the tmp and temp definitions in > /etc/profile, or old .net apps should be started only after calling > `unset tmp temp' in bash. > Btw., tmp and temp are not preserved this way in tcsh's profile scripts. > So I'm wondering why we do it in /etc/profile. Can somebody give me a > management summary? I guess that was an attempt to fix something that isn't made things right, but left there for years. I would rather propose to solve it the other way around and use /etc/fstab functionality to mount Cygwin's /tmp to current user's %TEMP% folder. I don't know, how would that work in multi-user environment, though. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 29.02.2012, <02:46> Sorry for my terrible english... -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |