summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-12-13 20:52:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-12-13 20:52:24 +0000
commit491f8e514b1e470b153debad03266bd92d04ccb1 (patch)
tree5fa1801c41d55c56699daf4ceb7179c365c7be2b /gnu
parentbc36f71127f4514ddb55736340bcbff42f765486 (diff)
same bug, should have guessed this would come from gnu portability stupidity.
as noted by deraadt@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/ld/ldconfig/ldconfig.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gnu/usr.bin/ld/ldconfig/ldconfig.c b/gnu/usr.bin/ld/ldconfig/ldconfig.c
index 363cc01d7aa..d2c1d4029e4 100644
--- a/gnu/usr.bin/ld/ldconfig/ldconfig.c
+++ b/gnu/usr.bin/ld/ldconfig/ldconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldconfig.c,v 1.18 2005/09/29 20:40:35 deraadt Exp $ */
+/* $OpenBSD: ldconfig.c,v 1.19 2010/12/13 20:52:23 espie Exp $ */
/*
* Copyright (c) 1993,1995 Paul Kranenburg
@@ -408,12 +408,6 @@ buildhints(void)
return -1;
}
- /* Install it */
- if (unlink(_PATH_LD_HINTS) != 0 && errno != ENOENT) {
- warn("%s", _PATH_LD_HINTS);
- return -1;
- }
-
if (rename(tmpfile, _PATH_LD_HINTS) != 0) {
warn("%s", _PATH_LD_HINTS);
return -1;