PR libfortran/62768 Use gfc_unit.filename also when HAVE_TTYNAME{_R} is not defined.
commit99ffd2a7ca5c386bd79b4d620304c47fb6dfd58c
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Sep 2014 21:44:15 +0000 (17 21:44 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Sep 2014 21:44:15 +0000 (17 21:44 +0000)
treebfa288f8fa42e02e4604f4cec44e37f0e62a14ea
parentbc587267bd85c2b30d8c0e8448ee6a5739271516
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.

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