[patch, libgfortran] PR47694 [4.3/4.4/4.5/4.6 Regression] Fortran read from named pipe fails

Tobias Burnus burnus@net-b.de
Sat Feb 19 10:44:00 GMT 2011


Jerry DeLisle wrote:
> Regression tested on x86-64.  I would appreciate others testing 
> please. I do not know how to create a specific named pipe test in the 
> test suite. See the PR for the original test.
> OK for trunk?

 From my side, it looks OK, though I would like if Janne could also look 
at the patch. I think one cannot add a (portable) test case to the test 
suite. I tried to get the program fail, but if failed :-)

Thanks for the patch! I think one should at least backport it to 4.5.

Tobias

> 2011-02-18  Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
>     PR libgfortran/47694
>     * io/fbuf.c (fbuf_read): Scan the buffer for end-of-record and if
>     found, do not call sread unnecessarily.



More information about the Fortran mailing list