[Bug 204253] New: kompare has troubles parsing certain unified diff output

Markus Schöpflin markus.schoepflin at comsoft.de
Tue Aug 18 10:56:34 CEST 2009


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

           Summary: kompare has troubles parsing certain unified diff
                    output
           Product: kompare
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kompare-devel at kde.org
        ReportedBy: markus.schoepflin at comsoft.de


Version:           3.5.4 (using KDE 4.2.4)
OS:                Linux
Installed from:    Ubuntu Packages

When diffing the following two files, kompare comes up with an empty window.
Looks like kompare is confused by the triple minus in the diff output.

$ kompare -v
Qt: 4.5.0
KDE: 4.2.2 (KDE 4.2.2)
Kompare: 3.5.4
$ cat a_1
-- foo
$ cat a_2
-- bar
$ diff -u a_1 a_2
--- a_1 2009-08-18 10:42:02.000000000 +0200
+++ a_2 2009-08-18 10:42:07.000000000 +0200
@@ -1 +1 @@
--- foo
+-- bar
$ diff -u a_1 a_2 | kompare -

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kompare-devel mailing list