From 43ff5c7a2dd5912a3bf90bd0f9cc599ac3a3acce Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Fri, 4 Sep 2015 00:18:56 +0300 Subject: libgfortran: Use remove(3) instead of unlink(2) when deleting files. testsuite: 2015-09-04 Janne Blomqvist * gfortran.dg/read_dir.f90: Delete empty directory when closing rather than calling rmdir, cleanup if open fails. libgfortran: 2015-09-04 Janne Blomqvist * 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 --- libgfortran/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libgfortran/ChangeLog') diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 0958ca7..5da6ea3 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,11 @@ +2015-09-04 Janne Blomqvist + + * 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. + 2015-09-02 Janne Blomqvist PR libfortran/67414 -- cgit v1.1