This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: DOS line endings
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Wed, 23 Apr 2003 11:36:38 +0100 (BST)
- Subject: Re: DOS line endings
- References: <87ptnecddo.fsf@egil.codesourcery.com>
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