This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DOS line endings


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 at cam dot ac dot uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]