This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29277] Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms
- From: "jvdelisle 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 Oct 2006 01:41:25 -0000
- Subject: [Bug fortran/29277] Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms
- References: <bug-29277-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jvdelisle at gcc dot gnu dot org 2006-10-13 01:41 -------
Note: I believe it may be necessary to explicitly inject a '\r' when a '\n' is
embedded in a string. I am not quite set up to test this yet here. So I would
much appreciate if some one can do that, while I continue to study that part.
The patch submitted in comment #7 is fully test on '\n' only system.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29277