]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* collect2.c (maybe_unlink): Use unlink_if_ordinary.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 3 Jun 2005 10:48:06 +0000 (11:48 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 3 Jun 2005 10:48:06 +0000 (11:48 +0100)
From-SVN: r100537

gcc/ChangeLog
gcc/collect2.c

index b2b7575840e50c257fd6dd4d51208e13976147c5..f0ee0770875d53d068b07ea282174647e4cccff2 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        * reload1.c (reload): Revert my previous patch.
index 7c8fde6a4c0008b3290c31db28eb6fb1a629042c..cc1ac32802d0990bccc45b121b35c2e89d0082e1 100644 (file)
@@ -1606,7 +1606,7 @@ static void
 maybe_unlink (const char *file)
 {
   if (!debug)
-    unlink (file);
+    unlink_if_ordinary (file);
   else
     notice ("[Leaving %s]\n", file);
 }