From 6cb6b0d1f78524943ed188d33469f3da063874fc Mon Sep 17 00:00:00 2001 From: jvdelisle Date: Sun, 27 Jan 2019 01:36:40 +0000 Subject: [PATCH] 2019-01-26 Jerry DeLisle PR libfortran/89020 * io/close.c (st_close): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268309 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgfortran/ChangeLog | 5 +++++ libgfortran/io/close.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 10079787e754..0898b8ba88bc 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2019-01-26 Jerry DeLisle + + PR libfortran/89020 + * io/close.c (st_close): Fix typo. + 2019-01-26 Jerry DeLisle PR libfortran/89020 diff --git a/libgfortran/io/close.c b/libgfortran/io/close.c index 2b35e49c9ccd..7fa968faf620 100644 --- a/libgfortran/io/close.c +++ b/libgfortran/io/close.c @@ -116,7 +116,7 @@ st_close (st_parameter_close *clp) #if !HAVE_UNLINK_OPEN_FILE if (path != NULL) { - if (remove (u->filename)) + if (remove (path)) generate_error (&clp->common, LIBERROR_OS, "File cannot be deleted, possibly in use by" " another process"); -- 2.47.2