diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-06-03 10:48:06 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2005-06-03 10:48:06 +0000 |
commit | 9b5993d0455959e05c505f8e68ba6d64136f273d (patch) | |
tree | 01e115259aad37cc3fe4a903b52121822f33b925 /gcc/collect2.c | |
parent | e6c614681b277da107b8d48728753e84200b13cb (diff) |
* collect2.c (maybe_unlink): Use unlink_if_ordinary.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100537 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 2 |
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); } |