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:
Ruslan Ermilov 2007-01-30 15:09:30 +00:00
parent a35dcad5cb
commit e2f227fbaa
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -3,7 +3,7 @@ __FBSDID("$FreeBSD$");
#include "stand.h"
#ifdef BSD4_4
#ifndef BSD4_4
#include <string.h>
#include <stdio.h>
#include <errno.h>