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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

James Baxter
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: [hidden email]
          Reporter: [hidden email]
  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.
Reply | Threaded
Open this post in threaded view
|

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

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

--- Comment #1 from Ashark <[hidden email]> ---
Created attachment 104527
  --> https://bugs.kde.org/attachment.cgi?id=104527&action=edit
error while opening original

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

James Baxter
In reply to this post by James Baxter
https://bugs.kde.org/show_bug.cgi?id=377537

--- Comment #2 from Ashark <[hidden email]> ---
Created attachment 104528
  --> https://bugs.kde.org/attachment.cgi?id=104528&action=edit
no error while opening modified file

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

James Baxter
In reply to this post by James Baxter
https://bugs.kde.org/show_bug.cgi?id=377537

Ashark <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

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