This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Problem with patching unix files with patch b18 and earlier




>From: "Wim van der Vegt" <wvd_vegt@knoware.nl>
>To: <gnu-win32@cygnus.com>
>Subject: Problem with patching unix files with patch b18 and earlier
>Date: Mon, 29 Dec 1997 22:31:31 +0100
>
>Hi,
>
>I used gnu patch for some time now to patch sources of a unix based mud 
that
>can also be compiled under win32.
>
>What i noticed was that :
>
>1. patch only likes files in unix format (ie lf only) for both file to 
be
>patched and the patch itself. It then patches correctly and signals 
plan A.
>If the file to be patched is saved in dos mode (ie crlf terminated) 
patch
>signals plan B and ruins the file. (i just use a simple commandline 
patch
><file to be patched> <patch file>).
>
>2. if patch patches a unix file it returns a crlf (ie dos) file as a 
result

It will only return \n if your directories are mounted as text=binary.  
This sets the default output file mode.  For further information check 
the mail archives as there has been lengthy discussions on this.  You 
can find the mail archives at http:/www.cygnus.com/ml/gnu-win32.

[snip]
>Wim van der Vegt / Dutch Open University
>


-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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