OSDN Git Service

2010-07-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jul 2010 01:32:23 +0000 (01:32 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jul 2010 01:32:23 +0000 (01:32 +0000)
commit4cdcb18dd0f8bed2bc911ba6d52abcc877708da5
treeed3790f513f08394de93694eb89a85e8e02d5c8c
parenta32a96e4a86def1922a9afec04bfcccbb335fa77
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162667 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/io/inquire.c
libgfortran/io/unix.c
libgfortran/io/unix.h