gcc/libgfortran/io
Janne Blomqvist 0e05c303e5 PR libfortran/62768 Handle filenames with embedded null characters.
testsuite ChangeLog:

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

	PR libfortran/62768
	* gfortran.dg/filename_null.f90: New test.

libgfortran ChangeLog:

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

	PR libfortran/62768
	* io/io.h (gfc_unit): Store C string for the filename.
	* io/close.c (st_close): Use gfc_unit.filename.
	* io/inquire.c (inquire_via_unit): Likewise.
	* io/open.c (new_unit): Likewise.
	(already_open): Likewise, unlink file before freeing filename.
	* io/unit.c (init_units): Likewise.
	(close_unit_1): Likewise.
	(filename_from_unit): Likewise.
	* io/unix.c (compare_file_filename): Likewise.
	(find_file0): Likewise.
	(delete_file): Likewise.

From-SVN: r215307
2014-09-17 00:40:28 +03:00
..
close.c PR libfortran/62768 Handle filenames with embedded null characters. 2014-09-17 00:40:28 +03:00
fbuf.c Introduce xrealloc, use it. 2014-05-26 23:56:45 +03:00
fbuf.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
file_pos.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
format.c re PR fortran/61632 (Improve error locus on large format strings) 2014-07-20 20:03:41 +00:00
format.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
inquire.c PR libfortran/62768 Handle filenames with embedded null characters. 2014-09-17 00:40:28 +03:00
intrinsics.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
io.h PR libfortran/62768 Handle filenames with embedded null characters. 2014-09-17 00:40:28 +03:00
list_read.c re PR libfortran/61640 (KIND=4 Character Array Internal Unit Read Fail) 2014-06-29 02:49:45 +00:00
lock.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
open.c PR libfortran/62768 Handle filenames with embedded null characters. 2014-09-17 00:40:28 +03:00
read.c re PR libfortran/38199 (missed optimization: I/O performance) 2014-03-13 05:06:57 +00:00
size_from_kind.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
transfer.c Fix pad status check. 2014-09-10 00:23:25 +03:00
transfer128.c Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
unit.c PR libfortran/62768 Handle filenames with embedded null characters. 2014-09-17 00:40:28 +03:00
unix.c PR libfortran/62768 Handle filenames with embedded null characters. 2014-09-17 00:40:28 +03:00
unix.h PR 56981 Flush buffer at record boundary if possible. 2014-06-08 08:43:29 +03:00
write.c Introduce xmallocarray, an overflow checking variant of xmalloc. 2014-06-17 06:50:34 +03:00
write_float.def re PR fortran/60128 (Wrong ouput using en edit descriptor) 2014-03-08 06:04:34 +00:00