diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2010-07-29 01:32:23 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2010-07-29 01:32:23 +0000 |
commit | 01b9977477971a04c95488e489999bc3d4b43bb3 (patch) | |
tree | ed3790f513f08394de93694eb89a85e8e02d5c8c /gcc/fortran/array.c | |
parent | fb1341901a435aa26ef846612f9dc98c45d8403f (diff) | |
download | gcc-01b9977477971a04c95488e489999bc3d4b43bb3.zip gcc-01b9977477971a04c95488e489999bc3d4b43bb3.tar.gz gcc-01b9977477971a04c95488e489999bc3d4b43bb3.tar.bz2 |
re PR fortran/44931 (For INPUT_UNIT, INQUIRE NAME= should not return "stdin")
2010-07-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/44931
* io/inquire.c (inquire_via_unit): Use ttyname to return actual device
file name for stdin, stdout, and stderr. If ttyname does not succeed
fall back to default names for these units. Include string.h to allow
using strlen function.
* unix.c: Remove typedef of unix_stream structure, move to unix.h.
* unix.h: Add typedef of unix_stream structure so that it is
accessible to inquire.c.
From-SVN: r162667
Diffstat (limited to 'gcc/fortran/array.c')
0 files changed, 0 insertions, 0 deletions