gcc/libgfortran/io
Janne Blomqvist 43ff5c7a2d libgfortran: Use remove(3) instead of unlink(2) when deleting files.
testsuite:

2015-09-04  Janne Blomqvist  <jb@gcc.gnu.org>

	* gfortran.dg/read_dir.f90: Delete empty directory when closing
	rather than calling rmdir, cleanup if open fails.


libgfortran:

2015-09-04  Janne Blomqvist  <jb@gcc.gnu.org>

	* io/unix.h (delete_file): Remove prototype.
	* io/unix.c (delete_file): Remove function.
	* io/close.c (st_close): Replace delete_file and unlink with
	remove.
	* io/open.c (already_open): Replace unlink with remove.

From-SVN: r227472
2015-09-04 00:18:56 +03:00
..
close.c libgfortran: Use remove(3) instead of unlink(2) when deleting files. 2015-09-04 00:18:56 +03:00
fbuf.c re PR fortran/60956 (error reading (and writing) large text files in gfortran) 2015-02-07 15:13:15 +00:00
fbuf.h re PR fortran/60956 (error reading (and writing) large text files in gfortran) 2015-02-07 15:13:15 +00:00
file_pos.c Update copyright years. 2015-01-05 13:33:28 +01:00
format.c re PR libfortran/65234 (Output descriptor (*(1E15.7)) not accepted) 2015-04-21 18:23:20 +00:00
format.h re PR fortran/65089 (FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address) 2015-04-15 01:27:03 +00:00
inquire.c re PR fortran/61933 (Inquire on internal units) 2015-01-23 02:01:10 +00:00
intrinsics.c Update copyright years. 2015-01-05 13:33:28 +01:00
io.h re PR fortran/60956 (error reading (and writing) large text files in gfortran) 2015-02-07 15:13:15 +00:00
list_read.c re PR fortran/56743 (Namelist bug with comment and no blank) 2015-04-21 16:13:54 +00:00
lock.c Update copyright years. 2015-01-05 13:33:28 +01:00
open.c libgfortran: Use remove(3) instead of unlink(2) when deleting files. 2015-09-04 00:18:56 +03:00
read.c Update copyright years. 2015-01-05 13:33:28 +01:00
size_from_kind.c Update copyright years. 2015-01-05 13:33:28 +01:00
transfer.c re PR fortran/65089 (FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address) 2015-04-15 01:27:03 +00:00
transfer128.c Update copyright years. 2015-01-05 13:33:28 +01:00
unit.c unit.c (get_internal_unit): Make default sign mode unspecified. 2015-08-25 16:27:43 +00:00
unix.c libgfortran: Use remove(3) instead of unlink(2) when deleting files. 2015-09-04 00:18:56 +03:00
unix.h libgfortran: Use remove(3) instead of unlink(2) when deleting files. 2015-09-04 00:18:56 +03:00
write.c PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00
write_float.def re PR libfortran/57496 (I/O: WRITE(*,*) HUGE(0._10) gives SIGFPE with -ffpe-trap=overflow) 2015-08-24 16:31:47 +00:00