From: jvdelisle Date: Sun, 27 Jan 2019 19:42:34 +0000 (+0000) Subject: 2019-01-27 Jerry DeLisle X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c35aa9f866d8aba61cf3a5deee88121c84583ec4;p=thirdparty%2Fgcc.git 2019-01-27 Jerry DeLisle PR libfortran/89020 * io/close.c (st_close): Simplify text of error message to not presume a specific cause of failure to remove file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268319 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 0898b8ba88bc..f1e433112063 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2019-01-27 Jerry DeLisle + + PR libfortran/89020 + * io/close.c (st_close): Simplify text of error message to not + presume a specific cause of failure to remove file. + 2019-01-26 Jerry DeLisle PR libfortran/89020 diff --git a/libgfortran/io/close.c b/libgfortran/io/close.c index 7fa968faf620..1e075ea96087 100644 --- a/libgfortran/io/close.c +++ b/libgfortran/io/close.c @@ -102,8 +102,7 @@ st_close (st_parameter_close *clp) if (remove (u->filename)) generate_error (&clp->common, LIBERROR_OS, - "File cannot be deleted, possibly in use by" - " another process"); + "File cannot be deleted"); #else path = strdup (u->filename); #endif @@ -118,8 +117,7 @@ st_close (st_parameter_close *clp) { if (remove (path)) generate_error (&clp->common, LIBERROR_OS, - "File cannot be deleted, possibly in use by" - " another process"); + "File cannot be deleted"); free (path); } #endif