summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-06-03 11:48:06 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2005-06-03 11:48:06 +0100
commit88fbbf4b49abc52b9d3d3d5a7c48bed380492140 (patch)
tree01e115259aad37cc3fe4a903b52121822f33b925 /gcc/collect2.c
parentbadea87de498912a933a33931e632eb98f5fdfe3 (diff)
downloadgcc-88fbbf4b49abc52b9d3d3d5a7c48bed380492140.tar.gz
* collect2.c (maybe_unlink): Use unlink_if_ordinary.
From-SVN: r100537
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 7c8fde6a4c0..cc1ac32802d 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -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);
}