re PR libfortran/19678 (DOS files don't work for list directed input)
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Fri, 25 Mar 2005 13:35:29 +0000 (14:35 +0100)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 25 Mar 2005 13:35:29 +0000 (13:35 +0000)
commit94887ef4788e211ffcae25f17018099bf75dbab3
treed266bc81427627226c9cf0f342c8ef74a86d6d84
parentcd928652255d6203f3223a589fff3eed02995850
re PR libfortran/19678 (DOS files don't work for list directed input)

        PR libfortran/19678
        PR libfortran/19679
        * gfortran.dg/dos_eol.f: New test.

        PR libfortran/19678
        * list_read.c (next_char, eat_separator, finish_separator, read_real)
        (namelist_read): Add support for '\r' as well as '\n' as EOL
        character.

        PR libfortran/19679
        * list_read.c (read_sf): Add a '\r' in a test to support DOS
        line-endings when line length is exceeded.

From-SVN: r97041
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dos_eol.f [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/list_read.c
libgfortran/io/transfer.c