Re: [RFH] Exploration of an alternative diff_delta() algorithm
- From
- Peter Eriksen <s022018@student.dtu.dk>
- Date
- Apr 9, 2006, 17:34 UTC
- Message-ID
- <20060409173409.GB23908@erlang.gbar.dtu.dk>
- In-Reply-To
- <Pine.LNX.4.64.0604091307460.2215@localhost.localdomain>
On Sun, Apr 09, 2006 at 01:14:31PM -0400, Nicolas Pitre wrote: ...
Show 13 quoted lines
> Nothing outside diff-delta.c and patch-delta.c is aware of the delta > data format. So if your version is meant to be a transparent > replacement then it should pass all tests. If it doesn't then it is > broken. > > To help you play around you could try the test-delta utility (make > test-delta to build it). > > So: > > test-delta -d file1 file2 delta_file > test-delta -p file1 delta_file file3 > cmp file2 file3
My tests of these kinds doesn't show any errors. Though, if file2 is empty, test-delta writes: "file2: Invalid argument".
Peter