зеркало из https://github.com/mozilla/pjs.git
Removed the experimental change. It did not cause the intermittent QA
failures on the "aix64" tinderbox to go away.
This commit is contained in:
Родитель
1803eb82e9
Коммит
f906970555
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* Test program for SDR (Secret Decoder Ring) functions.
|
* Test program for SDR (Secret Decoder Ring) functions.
|
||||||
*
|
*
|
||||||
* $Id: shlibsign.c,v 1.8 2003-03-22 07:52:25 wtc%netscape.com Exp $
|
* $Id: shlibsign.c,v 1.9 2003-03-23 00:16:43 wtc%netscape.com Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef XP_UNIX
|
#ifdef XP_UNIX
|
||||||
|
@ -55,7 +55,6 @@
|
||||||
#include "pk11pqg.h"
|
#include "pk11pqg.h"
|
||||||
|
|
||||||
#ifdef USES_LINKS
|
#ifdef USES_LINKS
|
||||||
#include <errno.h>
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -394,8 +393,9 @@ main (int argc, char **argv)
|
||||||
|
|
||||||
#ifdef USES_LINKS
|
#ifdef USES_LINKS
|
||||||
if (link_file) {
|
if (link_file) {
|
||||||
|
(void)unlink(link_file);
|
||||||
ret = symlink(output_file, link_file);
|
ret = symlink(output_file, link_file);
|
||||||
if (ret < 0 && errno != EEXIST) {
|
if (ret < 0) {
|
||||||
perror(link_file);
|
perror(link_file);
|
||||||
goto loser;
|
goto loser;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче