home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Newsgroups: comp.unix.misc
- Subject: Re: Programs to create and apply binary patches?
- Message-ID: <1992Nov20.092309.19734@thunder.mcrcim.mcgill.edu>
- Date: 20 Nov 92 09:23:09 GMT
- References: <1992Nov17.194826.26531@spillman.uucp>
- Organization: McGill Research Centre for Intelligent Machines
- Lines: 29
-
- In article <1992Nov17.194826.26531@spillman.uucp>, tye@spillman.uucp (E. Tye McQueen) writes:
-
- > [Follow-ups to comp.unix.misc]
-
- That's odd, something's wrong then. My software ignored your
- Followup-To:...I'll have to check it out.
-
- > Any great ideas on how to create a "patch" file of differences
- > between two versions of a very large *binary* file (executable) so
- > the patch file could be distributed (via modem) and applied to the
- > many copies of the old version of the file?
-
- You could always convert both files to text via something like
-
- while ((c=getchar()) != EOF) printf("%d\n",c);
-
- and run a regular diff on those. Applying the resulting patch should
- be a straightforward (though more complex than the above :) program,
- and can be done without needing the textified versions of the binary
- files.
-
- But wouldn't it be better to ship over the patches to the source
- instead? Probably not a whole lot larger, much more useful, and you
- need to ship 'em anyway to keep the source and binary in sync.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-