This is the mail archive of the
cygwin@cygwin.com
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
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/