=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/cond.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/make/cond.c 1999/12/16 16:41:41 1.8 --- src/usr.bin/make/cond.c 1999/12/16 16:52:11 1.9 *************** *** 1,4 **** ! /* $OpenBSD: cond.c,v 1.8 1999/12/16 16:41:41 espie Exp $ */ /* $NetBSD: cond.c,v 1.7 1996/11/06 17:59:02 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: cond.c,v 1.9 1999/12/16 16:52:11 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.8 1999/12/16 16:41:41 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.9 1999/12/16 16:52:11 espie Exp $"; #endif #endif /* not lint */ *************** *** 245,250 **** --- 245,251 ---- } } + /* XXX */ Buf_AddChar(buf, '\0'); *argPtr = Buf_Retrieve(buf); argLen = Buf_Size(buf); *************** *** 556,564 **** condExpr++) Buf_AddChar(buf, *condExpr); - Buf_AddChar(buf, '\0'); lhs = Buf_Retrieve(buf); - varSpecLen = Buf_Size(buf); Buf_Destroy(buf, FALSE); doFree = TRUE; --- 557,563 ---- *************** *** 652,659 **** Buf_AddChar(buf, *cp); } } - - Buf_AddChar(buf, '\0'); string = Buf_Retrieve(buf); Buf_Destroy(buf, FALSE); --- 651,656 ----