=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/cond.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/make/cond.c 1999/12/16 17:02:45 1.11 --- src/usr.bin/make/cond.c 1999/12/18 21:53:32 1.12 *************** *** 1,4 **** ! /* $OpenBSD: cond.c,v 1.11 1999/12/16 17:02:45 espie Exp $ */ /* $NetBSD: cond.c,v 1.7 1996/11/06 17:59:02 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: cond.c,v 1.12 1999/12/18 21:53:32 espie Exp $ */ /* $NetBSD: cond.c,v 1.7 1996/11/06 17:59:02 christos Exp $ */ /* *************** *** 43,49 **** #if 0 static char sccsid[] = "@(#)cond.c 8.2 (Berkeley) 1/2/94"; #else ! static char rcsid[] = "$OpenBSD: cond.c,v 1.11 1999/12/16 17:02:45 espie Exp $"; #endif #endif /* not lint */ --- 43,49 ---- #if 0 static char sccsid[] = "@(#)cond.c 8.2 (Berkeley) 1/2/94"; #else ! static char rcsid[] = "$OpenBSD: cond.c,v 1.12 1999/12/18 21:53:32 espie Exp $"; #endif #endif /* not lint */ *************** *** 339,345 **** Boolean result; arg[argLen] = '\0'; ! if (Lst_Find (create, (ClientData)arg, CondStrMatch) == NILLNODE) { result = FALSE; } else { result = TRUE; --- 339,345 ---- Boolean result; arg[argLen] = '\0'; ! if (Lst_Find (create, (ClientData)arg, CondStrMatch) == NULL) { result = FALSE; } else { result = TRUE; *************** *** 406,412 **** arg[argLen] = '\0'; gn = Targ_FindNode(arg, TARG_NOCREATE); ! if ((gn != NILGNODE) && !OP_NOP(gn->type)) { result = TRUE; } else { result = FALSE; --- 406,412 ---- arg[argLen] = '\0'; gn = Targ_FindNode(arg, TARG_NOCREATE); ! if ((gn != NULL) && !OP_NOP(gn->type)) { result = TRUE; } else { result = FALSE;