[Patch, Fortran] PR602864 - fix INQUIRE for write= with stdout/stdin/stderr

2014-02-20 Thread Tobias Burnus
A rather simple patch. Build and regtested on x86-64-gnu-linux. OK for the trunk? Tobias 2014-02-20 Tobias Burnus bur...@net-b.de PR fortran/602864 * libgfortran/io/inquire.c (yes, no): New static const char vars. (inquire_via_unit): Use them. Return proper value for write=, read= and

Re: [Patch, Fortran] PR602864 - fix INQUIRE for write= with stdout/stdin/stderr

2014-02-20 Thread Uros Bizjak
Hello! A rather simple patch. Build and regtested on x86-64-gnu-linux. OK for the trunk? 2014-02-20 Tobias Burnus bur...@net-b.de PR fortran/602864 ... we are not there yet with PR numbers ;) Uros.

Re: [Patch, Fortran] PR602864 - fix INQUIRE for write= with stdout/stdin/stderr

2014-02-20 Thread Paul Richard Thomas
Dear Uros, Tobias's patch is designed to be future-proof! Cheers Paul On 20 February 2014 14:26, Uros Bizjak ubiz...@gmail.com wrote: Hello! A rather simple patch. Build and regtested on x86-64-gnu-linux. OK for the trunk? 2014-02-20 Tobias Burnus bur...@net-b.de PR fortran/602864

Re: [Patch, Fortran] PR602864 - fix INQUIRE for write= with stdout/stdin/stderr

2014-02-20 Thread Janus Weil
Hi Tobias, A rather simple patch. Build and regtested on x86-64-gnu-linux. OK for the trunk? the patch looks pretty much trivial, int the sense that you just hard-wire the expected values for the std* units as a special case. I wonder why the 'inquire_read' and 'inquire_write' functions