Mail Archives: cygwin/1997/12/30/07:47:32
>From: "Wim van der Vegt" <wvd_vegt AT knoware DOT nl>
>To: <gnu-win32 AT cygnus DOT 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 AT hotmail DOT 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 AT cygnus DOT com" with one line of text: "help".
- Raw text -