[ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67
Robert Pendell
shinji@elite-systems.org
Mon Nov 30 12:32:00 GMT 2009
On Sun, Nov 29, 2009 at 5:41 PM, Angelo Graziosi wrote:
> Ken Brown wrote:
>>
>> I just confirmed this on my XP SP3 system. I initially got similar
>> behavior to what Angelo and Robert reported, but it doesn't happen if I
>> export TMPDIR=/tmp before running patch.
>
> Indeed!
>
> On my system TMPDIR isn't defined by default; instead TMP and TEMP point to
> $USERPROFILE/Temp. Setting TMP or TMPDIR to /tmp, works. Instead pointing
> TEMP to /tmp does not, i.e. 'patch' creates foo.txt with '+'.
>
>
> Ciao,
> Angelo.
>
Yea. I had noticed that earlier but it didn't really click. I have
attached a patch.strace file that shows what happens when the patch is
processed. Looks like it is generating a fake TMP variable based on
the system set TEMP and not the one set in the bashrc. TMP has
nothing set on it at all. I only had TEMP defined as /tmp.
Robert Pendell
shinji@elite-systems.org
CAcert Assurer
"A perfect world is one of chaos."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.strace
Type: application/octet-stream
Size: 118904 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20091130/aed59414/attachment.obj>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list