www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/13/07:57:21

Date: Thu, 13 Nov 1997 14:56:21 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jude Dashiell <dashiell AT clark DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: patch unexpected action
In-Reply-To: <Pine.GSO.3.96.971113053449.5085A-100000@clark.net>
Message-ID: <Pine.SUN.3.91.971113145237.24074A-100000@is>
MIME-Version: 1.0

On Thu, 13 Nov 1997, Jude Dashiell wrote:

> One line in particular in c:\commo\commo.set I especially needed carried
> over was:
> *  sfi=yes ...
> That line should have replaced:
> * sfi=no ...
> the default setting in c:\commo\beta\commo.set.
> I run the commands:
> diff -u c:\commo\commo.set c:\commo\beta\commo.set >c:\commo\commo3.dif
> <cr>
> patch -i commo3.dif <cr>
> 
> The result was that
> * sfi=no ...
> was then found in both files.

What directory were you in when you invoked `patch'?  From the transcript 
above, it is not clear whether or not you were in c:\commo.  If not, you 
used incorrect dif file.

If the above doesn't help, there's something else involved here that you
don't tell (and I'm unable to guess).  Perhaps if you posted the contents
of the files in point, the cause of the problem could be revealed. 

> Perhaps patch <commo3.dif <cr>
> would have worked differently.

No, both ways produce identical results.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019