This is the mail archive of the
mailing list for the Cygwin project.
Patch 2.5.8: Problem patching dos text files
- From: "Dao, Giathang" <Giathang dot Dao at ca dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 6 Mar 2003 21:45:12 -0500
- Subject: Patch 2.5.8: Problem patching dos text files
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):
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,
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html