Fix the logic bug that caused the custom versions of warn(3) and
warnx(3) to be compiled on systems that have it (e.g. FreeBSD), while the intention was opposite, i.e., compile them on systems that don't have them. Also fixes static linkage of pkg_sign(1).
This commit is contained in:
parent
a35dcad5cb
commit
e2f227fbaa
@ -106,9 +106,9 @@ main(argc, argv, envp)
|
||||
int i;
|
||||
int type = TAG_ANY;
|
||||
|
||||
/* #ifndef BSD4_4 */
|
||||
#ifndef BSD4_4
|
||||
set_program_name(argv[0]);
|
||||
/* #endif */
|
||||
#endif
|
||||
#ifdef CHECKER_ONLY
|
||||
mode = CHECK;
|
||||
#else
|
||||
|
@ -3,7 +3,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include "stand.h"
|
||||
|
||||
#ifdef BSD4_4
|
||||
#ifndef BSD4_4
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user