| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4B13FCBE.3070506@gmail.com> |
| Date: | Mon, 30 Nov 2009 17:11:26 +0000 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67 |
| References: | <4B13CB3A DOT 7070909 AT alice DOT it> <a13b5a590911300823g7d05e820g4bfb6918098cc6ab AT mail DOT gmail DOT com> <4B13F7D6 DOT 1000204 AT cornell DOT edu> |
| In-Reply-To: | <4B13F7D6.1000204@cornell.edu> |
| 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 |
Ken Brown wrote:
> On 11/30/2009 11:23 AM, Robert Pendell wrote:
>> I guess a side question here is if TMP does not exist then should it
>> be defaulting to the system wide TEMP variable, the one defined in
>> .bashrc for the user or should it even be created at all? I posted an
>> strace and it shows TEMP set to /tmp but patch still uses TMP instead
>> and since TMP doesn't exist it looks like cygwin sets TMP to the
>> system wide one by default.
>
> Are you sure TMP doesn't exist? On my system TMP is set in the Windows
> environment. Cygwin just takes that variable and converts the filename
> to Unix format. So unless you unset TMP somewhere in your startup
> files, TMP will exist (at least in XP; I don't have experience with
> other systems).
I think this is the nub of it. On posix systems the /tmp dir is a vital
system directory, and cygwin should not import the windows version of it,
because unlike the real /tmp dir it won't have been created with the right
posix perms by setup.exe.
cheers,
DaveK
--
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 |