This is the mail archive of the gcc-bugs@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]

[Bug fortran/34324] Module files on CRLF systems



------- 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


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