[Bug fortran/34324] Module files on CRLF systems
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 13 20:46:00 GMT 2007
------- Comment #3 from dfranke at gcc dot gnu dot org 2007-12-13 20:45 -------
> Why does this need fixing?
Someone noticed. Hence, someone checked. As the patch is not exactly intrusive,
I think it's worth the change.
On windows it suffices to open and close a file in the "wrong" editor to
replace LF by CRLF. I wrecked the subversion-history of quite a files in my
local project due to this unwanted transition.
> Does the proposed patch even work with more complex modules (due to the
> checksum)?
If not, any checksum test would fail. As the checksum is computed during write
and any (later introduced) '\r' character is dropped, the checksum test
succeeds.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34324
More information about the Gcc-bugs
mailing list