[kompare] [Bug 377537] New: Complains to malformdness of patch file containing several trailing empty lines

Ashark bugzilla_noreply at kde.org
Sun Mar 12 20:02:12 UTC 2017


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

            Bug ID: 377537
           Summary: Complains to malformdness of patch file containing
                    several trailing empty lines
           Product: kompare
           Version: 4.1.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: parser
          Assignee: kompare-devel at kde.org
          Reporter: ashark at linuxcomp.ru
  Target Milestone: ---

If a .patch file contains more than one empty lines at the end of file, Kompare
complains that it has errors:

"The diff is malformed. Some lines could not be parsed and will not be
displayed in the diff view."

I have created my patch file using rbt utility, not by myself. So I was
surprised that kompare found some errors in it.
I have found out, that it is because additional trailing new line.

However, I am not familar with diff format specification. If it is really
restricted, then it seems, that it is rbtool's bug.

Original file (generated by rbt) and modified one are attached.

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


More information about the Kompare-devel mailing list