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/57633] I/O: Problem with formatted read: reading CR-LF files (\r\n)


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


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