This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Patch 2.5.8: Problem patching dos text files


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/


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