re PR libfortran/89020 (close(status='DELETE') does not remove file)
2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/89020 * io/close.c (st_close): Fix typo. From-SVN: r268309
This commit is contained in:
parent
b8f1882e87
commit
2ee43ae6d6
@ -1,3 +1,8 @@
|
||||
2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/89020
|
||||
* io/close.c (st_close): Fix typo.
|
||||
|
||||
2019-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/89020
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user