This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34324] Module files on CRLF systems
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2007 20:45:49 -0000
- Subject: [Bug fortran/34324] Module files on CRLF systems
- References: <bug-34324-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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