DOS line endings

Joseph S. Myers jsm28@cam.ac.uk
Wed Apr 23 13:48:00 GMT 2003


On Tue, 22 Apr 2003, Zack Weinberg wrote:

> These files have DOS line endings on both mainline and 3.3 branch:

If you want to clean this sort of thing up in general, there may be some
text files in the source tree which lack a newline at the end of the last
line.  Then there are files with excess invisible trailing whitespace on
some of their lines - I expect some people would object to fixing those on
the basis of it causing trouble for merging patches and for cvs annotate,
but when that sort of thing isn't fixed explicitly it gets fixed
accidentally when someone edits one of those files and their editor
removes the whitespace, causing the changes to appear in some other
commit, which is more confusing.  (Of course all these things - DOS line
endings, missing final newlines, trailing whitespace - should be preserved
where deliberate in the CPP testsuite, but not elsewhere.)

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Java mailing list