--- src/usr.bin/make/cond.c 2005/03/18 22:12:47 1.31 +++ src/usr.bin/make/cond.c 2005/03/19 00:19:55 1.32 @@ -629,10 +629,7 @@ do_string_compare: } } - Buf_AddByte(buf, (Byte)0); - - string = (char *)Buf_GetAll(buf, (size_t *)NULL); - Buf_Destroy(buf, FALSE); + string = Buf_Peel(buf); DEBUGF(COND, ("lhs = \"%s\", rhs = \"%s\", op = %.2s\n", lhs, string, op));