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 Split up io/io.h 2009-11-02 23:52:59 +02:00
fbuf.c Remove free_mem 2010-05-07 18:55:59 +03:00
fbuf.h Move includes after include guards 2009-11-19 22:23:03 +02:00
file_pos.c re PR fortran/44934 (Bogus "Missing format for FORMATTED data transfer") 2010-07-15 03:40:56 +00:00
format.c Remove free_mem 2010-05-07 18:55:59 +03:00
format.h Move includes after include guards 2009-11-19 22:23:03 +02:00
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 PR libfortran/43605 FTELL intrinsic, take 2. 2010-04-01 23:51:45 +03:00
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 Remove free_mem 2010-05-07 18:55:59 +03:00
open.c Remove free_mem 2010-05-07 18:55:59 +03:00
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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
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.c re PR fortran/44953 (FAIL: gfortran.dg/char4_iunit_1.f03 * execution test) 2010-07-19 13:11:54 +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