This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: ^M diff related problem


On Fri, 19 Jan 2001 Chuck.Irvine@mail.sprint.com wrote:

> Just curious - why might the setting of TEMP make a difference? Thanks, 
> anyway, though.

It makes a difference for some tools such as patch which creates a
temporary file. The default TEMP points to /cygdrive/c/WINNT/Temp on
say a NT or Win2k box which is by default textmode, and patch output
then adds unexpected ^Ms. I personally set TMPDIR and TEMP to /tmp
in .bashrc to avoid these little issues.

Doesn't make a difference for diff, which doesn't use temporary files.

Regards,
Mumit



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]