[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange difference display for unchanged source code
From: |
SF Markus Elfring |
Subject: |
Re: strange difference display for unchanged source code |
Date: |
Sat, 24 Oct 2009 13:00:22 +0200 |
> Look at the file and/or the diffs with an editor that has an option to
> display control characters or use a dump utility. The "uninteresting"
> changes have a bare <LF> at the end of the line in the original file
> rather than the correct (for DOS/Windows) <CR><LF>. Your editor is
> fixing the defective line endings when you save the file (which is a
> good thing).
You are right.
The diff command shows the same differences. The tool "Kompare 3.4" can
visually highlight the unexpected changes by a direct file comparison.
Now I have got the impression that the editor from the tool "KDevelop 3.5.5"
added a few carriage return characters (0x0D) at places in the source code that
I did not touch myself. Some line endings were converted to the Windows/DOS
format. I would prefer a clearer display for such a conversion in the diff
output.
Regards,
Markus