PR libfortran/62768 Use gfc_unit.filename also when HAVE_TTYNAME{_R} is not defined.
authorJanne Blomqvist <jb@gcc.gnu.org>
Wed, 17 Sep 2014 21:44:15 +0000 (00:44 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Wed, 17 Sep 2014 21:44:15 +0000 (00:44 +0300)
commit010718fc37a1e84698479677381e654169082cd0
treebfa288f8fa42e02e4604f4cec44e37f0e62a14ea
parentcadb2b96890ca65acba6837c24e67f074826f7fa
PR libfortran/62768 Use gfc_unit.filename also when HAVE_TTYNAME{_R} is not defined.

2014-09-18  Janne Blomqvist  <jb@gcc.gnu.org>

PR libfortran/62768
* io/inquire.c (inquire_via_unit): Use gfc_unit.filename also when
HAVE_TTYNAME{_R} is not defined.

From-SVN: r215338
libgfortran/ChangeLog
libgfortran/io/inquire.c