Commit 88fbbf4b by Joseph Myers Committed by Joseph Myers

* collect2.c (maybe_unlink): Use unlink_if_ordinary.

From-SVN: r100537
parent badea87d
2005-06-03 Joseph S. Myers <joseph@codesourcery.com>
* collect2.c (maybe_unlink): Use unlink_if_ordinary.
2005-06-02 Bernd Schmidt <bernd.schmidt@analog.com> 2005-06-02 Bernd Schmidt <bernd.schmidt@analog.com>
* reload1.c (reload): Revert my previous patch. * reload1.c (reload): Revert my previous patch.
......
...@@ -1606,7 +1606,7 @@ static void ...@@ -1606,7 +1606,7 @@ static void
maybe_unlink (const char *file) maybe_unlink (const char *file)
{ {
if (!debug) if (!debug)
unlink (file); unlink_if_ordinary (file);
else else
notice ("[Leaving %s]\n", file); notice ("[Leaving %s]\n", file);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment