[Bug fortran/57633] I/O: Problem with formatted read: reading CR-LF files (\r\n)
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 17 08:55:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57633
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|I/O: Problem with formatted |I/O: Problem with formatted
|read: reading an incomplete |read: reading CR-LF files
|record under Windows |(\r\n)
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
I can reproduce the issue using the following test file:
printf "line1,1,\r\nline2\r\nline3" > testcase.txt
It works if one has \n instead of \r\n
More information about the Gcc-bugs
mailing list