[kompare] [Bug 252359] Kompare could not parse some patch files

Markus Heidelberg markus.heidelberg at web.de
Sun Aug 17 22:34:10 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=252359

Markus Heidelberg <markus.heidelberg at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus.heidelberg at web.de

--- Comment #12 from Markus Heidelberg <markus.heidelberg at web.de> ---
Created attachment 88286
  --> https://bugs.kde.org/attachment.cgi?id=88286&action=edit
Fixes unified diff parsing for Aegis generated patches

This patch fixes unified diff parsing for Aegis generated patches and also
makes the patch in the first attachment (51981) of this bugreport work with
kompare now.

Example patch:
aegis.sourceforge.net/cgi-bin/aeget/srecord.1.64.C15/?aepatch+compat=4.25.C681

I have changed the tab character to be optional, but it could have been ignored
completely. I just kept it to not lose information. On the other hand I don't
know what's the point about being so strict with diff parsing. This looks like
having to run after every possible new diff format variant. It seems that there
is no fallback for unknown formats, but an abort.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kompare-devel mailing list