gcc/libgfortran/io
Jerry DeLisle 01b9977477 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
2010-07-29 01:32:23 +00:00
..
close.c
fbuf.c
fbuf.h
file_pos.c re PR fortran/44934 (Bogus "Missing format for FORMATTED data transfer") 2010-07-15 03:40:56 +00:00
format.c
format.h
inquire.c re PR fortran/44931 (For INPUT_UNIT, INQUIRE NAME= should not return "stdin") 2010-07-29 01:32:23 +00:00
intrinsics.c
io.h re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-16 14:16:04 +00:00
list_read.c re PR libfortran/43298 (fortran library does not read in NaN -Inf or Inf) 2010-07-02 21:07:30 +02:00
lock.c
open.c
read.c re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-16 14:16:04 +00:00
size_from_kind.c
transfer.c re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +00:00
unit.c re PR fortran/37077 (Implement Internal Unit I/O for character KIND=4) 2010-07-16 14:16:04 +00:00
unix.c re PR fortran/44931 (For INPUT_UNIT, INQUIRE NAME= should not return "stdin") 2010-07-29 01:32:23 +00:00
unix.h re PR fortran/44931 (For INPUT_UNIT, INQUIRE NAME= should not return "stdin") 2010-07-29 01:32:23 +00:00
write_float.def re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +00:00
write.c re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +00:00