summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-03-23 00:16:43 +0000
committerwtc%netscape.com <devnull@localhost>2003-03-23 00:16:43 +0000
commit2a4249a62a5f97b74042f7945db47df336d2eb1a (patch)
tree0b7daadf0c648314dc9a55d088547eec60438bb4
parent3a8dbae33168d9a4c4e6702d54d3e1cb834c0e80 (diff)
parent48fc96fe052e7372280a61500ebcdaed76f7bc6c (diff)
downloadnss-hg-2a4249a62a5f97b74042f7945db47df336d2eb1a.tar.gz
Removed the experimental change. It did not cause the intermittent QA
failures on the "aix64" tinderbox to go away.
-rw-r--r--security/nss/cmd/shlibsign/shlibsign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/cmd/shlibsign/shlibsign.c b/security/nss/cmd/shlibsign/shlibsign.c
index e737603c2..566c91214 100644
--- a/security/nss/cmd/shlibsign/shlibsign.c
+++ b/security/nss/cmd/shlibsign/shlibsign.c
@@ -55,7 +55,6 @@
#include "pk11pqg.h"
#ifdef USES_LINKS
-#include <errno.h>
#include <unistd.h>
#include <sys/param.h>
#include <sys/types.h>
@@ -394,8 +393,9 @@ main (int argc, char **argv)
#ifdef USES_LINKS
if (link_file) {
+ (void)unlink(link_file);
ret = symlink(output_file, link_file);
- if (ret < 0 && errno != EEXIST) {
+ if (ret < 0) {
perror(link_file);
goto loser;
}