www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/20/03:14:17

Date: Thu, 20 May 1999 10:11:46 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: using patch
In-Reply-To: <199905191712.MAA16341@darwin.sfbr.org>
Message-ID: <Pine.SUN.3.91.990520101057.22291P-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 19 May 1999, Jeff Williams wrote:

> I have a question about using patch v2.5 (under bash 1.14.7 with djgpp
> 2.03 and MS-DOS 5.0).

DJGPP v2.03 wasn't yet released.  I believe you meant v2.02.

> Suppose I want to update a single file.  My experience suggests that
> patch cannot extract the relevant patch(es) from the larger patchfile
> and apply them; instead I must copy the relevant patches to another
> patchfile, specific to the program to be patched, and then apply that
> (program-specific) patchfile.
> 
> Is this correct?

Basically, yes.

Of course, if you use Emacs, you can mark just the part of the large
patchfile and then launch Patch with shell-command-on-region command
(press `Alt-|' ;-).

- Raw text -


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