delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/01/01:12:06

Date: Sun, 1 Jul 2001 08:12:38 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: Binary patch program
In-Reply-To: <993950630.430145@queeg.ludd.luth.se>
Message-ID: <Pine.SUN.3.91.1010701080635.16546A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 1 Jul 2001, Martin Str|mberg wrote:

> Is there a diff/patch program that can make changes to binary files,
> e. g. .EXE files?

Indeed, there is.

First, Diff and Patch can do that if you invoke both of them with the 
"--binary" option.  But since Diff's algorithms are optimized for text 
files, the diffs to binary files are usually quite large (you could 
compress them, though).

Another possibility is the XDelta program.  It is specifically optimized 
for binary files, so the patches are smaller, but it's a terrible memory 
hog (so don't try to run it on a 4MB 386 ;-).  A DJGPP port is available; 
it should be on SimTel.NET (look for xdlt*.zip).

- Raw text -


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