X-Recipient: archive-cygwin@delorie.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: <4B13FCBE.3070506@gmail.com>
References: <4B13CB3A.7070909@alice.it> 	 <a13b5a590911300823g7d05e820g4bfb6918098cc6ab@mail.gmail.com> 	 <4B13F7D6.1000204@cornell.edu> <4B13FCBE.3070506@gmail.com>
Date: Mon, 30 Nov 2009 15:22:41 -0500
Message-ID: <a13b5a590911301222x649f0879k5a0c65cac936fd44@mail.gmail.com>
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67
From: Robert Pendell <shinji@elite-systems.org>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Mon, Nov 30, 2009 at 12:11 PM, Dave Korn
<dave.korn.cygwin@googlemail.com> wrote:
> 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? =C2=A0I poste=
d 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? =C2=A0On my system TMP is set in the Win=
dows
>> environment. =C2=A0Cygwin just takes that variable and converts the file=
name
>> to Unix format. =C2=A0So unless you unset TMP somewhere in your startup
>> files, TMP will exist (at least in XP; I don't have experience with
>> other systems).
>
> =C2=A0I think this is the nub of it. =C2=A0On 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.
>
> =C2=A0 =C2=A0cheers,
> =C2=A0 =C2=A0 =C2=A0DaveK
>

Is there a reason for not using the cygwin /tmp folder by default?
Sorry but I am trying to scratch a curiosity itch at this point.


Robert Pendell
shinji@elite-systems.org
CAcert Assurer
"A perfect world is one of chaos."

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

