patchfs fix for unified diffs

Oskar Liljeblad oskar at osk.mine.nu
Tue Oct 28 17:21:06 UTC 2003


On Tuesday, October 14, 2003 at 12:33, Pavel Roskin wrote:
[..]
> I agree.  The same problem exists in zip files.
> 
> I tested your patch, but it didn't work on the first test file I created.
> The test file is attached.  Please have a look.

Unfortunately the problematic lines appears in the first hunk in your test
diff. My patch does (as I understand now) only address all but the first
hunk. To fix this, you'd probably have to rewrite the diff fs completely...

Regards,

Oskar



More information about the mc-devel mailing list