=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/dir.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/make/dir.c 1999/12/18 21:53:32 1.11 --- src/usr.bin/make/dir.c 1999/12/18 21:56:07 1.12 *************** *** 1,4 **** ! /* $OpenBSD: dir.c,v 1.11 1999/12/18 21:53:32 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: dir.c,v 1.12 1999/12/18 21:56:07 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* *************** *** 43,49 **** #if 0 static char sccsid[] = "@(#)dir.c 8.2 (Berkeley) 1/2/94"; #else ! static char rcsid[] = "$OpenBSD: dir.c,v 1.11 1999/12/18 21:53:32 espie Exp $"; #endif #endif /* not lint */ --- 43,49 ---- #if 0 static char sccsid[] = "@(#)dir.c 8.2 (Berkeley) 1/2/94"; #else ! static char rcsid[] = "$OpenBSD: dir.c,v 1.12 1999/12/18 21:56:07 espie Exp $"; #endif #endif /* not lint */ *************** *** 1228,1237 **** Lst path; /* Path to clear */ { Path *p; ! while (!Lst_IsEmpty(path)) { ! p = (Path *)Lst_DeQueue(path); ! Dir_Destroy((ClientData) p); ! } } --- 1228,1235 ---- Lst path; /* Path to clear */ { Path *p; ! while ((p = (Path *)Lst_DeQueue(path)) != NULL) ! Dir_Destroy((ClientData)p); }