Patch 2.5.8: Problem patching dos text files

Dao, Giathang Giathang.Dao@ca.com
Fri Mar 7 03:54:00 GMT 2003


Hi,

I'm trying to apply a diff patch to a tree of files containing binaries and windows text files.
The binaries are patched correctly but the newlines in the text files are converted to unix newlines.

How can I prevent cygwin's patch from converting dos or crlf newlines to unix newlines?

I found a post dated 3+ years ago which describes the exact opposite behavior (his problem would have been my solution):

http://sources.redhat.com/ml/cygwin/1998-11/msg00337.html

but unfortunately mounting everything in either binmode and textmode did not work.

Any help or suggestions to alternatives would be greatly appreciated.

Thanks in advance,
-+Giathang

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list