On Mon, Nov 30, 2009 at 12:11 PM, Dave Korn
<dave.korn.cyg...@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?  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
>

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
shi...@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

Reply via email to