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
fbuf.h
file_pos.c
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
intrinsics.c
io.h
list_read.c re PR fortran/56743 (Namelist bug with comment and no blank) 2015-04-21 16:13:54 +00:00
lock.c
open.c libgfortran: Use remove(3) instead of unlink(2) when deleting files. 2015-09-04 00:18:56 +03:00
read.c
size_from_kind.c
transfer128.c
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
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_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
write.c PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00