This is the mail archive of the gcc-patches@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] |
2006-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29277
* io/write.c (write_a): Add conversion of LF to LF-CR for systems with
#define HAVE_CRLF.
Looks good to me.
Before this patch hex dump of output file is: lookatme.txt: 00000000 7265 636f 7264 310a 0a0a 0a0a 7265 636f record1.....reco 00000010 7264 310a 0a0a 0a72 6563 6f0a rd1....reco.
After patch lookatme.txt: 00000000 7265 636f 7264 310d 0a0d 0a0d 0a0d 0a0d record1......... 00000010 0a72 6563 6f72 6431 0d0a 0d0a 0d0a 0d0a .record1........ 00000020 7265 636f 0d0a reco..
No new libgortran failures on mingw32.I thought about a command line option may be useful. We will do that for 4.3 with concurrence from the team.
Thanks Danny
Umm, would you consider a command line option (in next stage 1) that
would override the default format mode to allow, eg, using 0_BINARY newlines on targets such as mingw32.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |