Subject: Re: Problem with patching unix files with patch b18 and earlier
From: [email-masked] (Earnie Boyd)

30 Dec 1997 07:47:32 -0800
Message-ID: <[email-masked]>
Content-Type: text/plain
To: [email-masked]
Cc: [email-masked]

>From: "Wim van der Vegt" <[email-masked]>
>To: <[email-masked]>
>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----
[email-masked]
------ooo0O--O0ooo-------

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