Date: Thu, 13 Nov 1997 14:56:21 +0200 (IST) From: Eli Zaretskii To: Jude Dashiell cc: djgpp AT delorie DOT com Subject: Re: patch unexpected action In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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 > > patch -i commo3.dif > > 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 > would have worked differently. No, both ways produce identical results.