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

2014-02-20 Thread Tobias Burnus
Hi, Janus Weil wrote: Namely, either unconditionally using for UNIT=: if ((cf & IOPARM_INQUIRE_HAS_READWRITE) != 0) p = (u->flags.action == ACTION_READWRITE) ? yes : no; We probably still need some special case for stdin/stdout/stderr. Do we? If the new version of the patch works correctly

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

2014-02-20 Thread Janus Weil
Hi, >> > 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 don't >> actually

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

2014-02-20 Thread Tobias Burnus
Hi Janus, On Thu, Feb 20, 2014 at 06:51:30PM +0100, Janus Weil wrote: > > 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 'i