Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: Patch 2.5.8: Problem patching dos text files Date: Thu, 6 Mar 2003 21:45:12 -0500 Message-ID: <5D826DAB4036C24EB1BA83C8907172AB0139430A@usilms23.ca.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Dao, Giathang" To: X-OriginalArrivalTime: 07 Mar 2003 02:45:13.0368 (UTC) FILETIME=[93D8E980:01C2E453] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h272jP520821 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/