=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/dir.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/make/dir.c 1999/10/05 22:06:23 1.9 --- src/usr.bin/make/dir.c 1999/12/18 02:11:26 1.10 *************** *** 1,4 **** ! /* $OpenBSD: dir.c,v 1.9 1999/10/05 22:06:23 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: dir.c,v 1.10 1999/12/18 02:11:26 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.9 1999/10/05 22:06:23 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.10 1999/12/18 02:11:26 espie Exp $"; #endif #endif /* not lint */ *************** *** 215,222 **** void Dir_Init () { ! dirSearchPath = Lst_Init (FALSE); ! openDirectories = Lst_Init (FALSE); Hash_InitTable(&mtimes, 0); /* --- 215,222 ---- void Dir_Init () { ! dirSearchPath = Lst_Init(); ! openDirectories = Lst_Init(); Hash_InitTable(&mtimes, 0); /* *************** *** 633,639 **** char *dp = &dirpath[strlen(dirpath) - 1]; if (*dp == '/') *dp = '\0'; ! path = Lst_Init(FALSE); Dir_AddDir(path, dirpath); DirExpandInt(cp+1, path, expansions); Lst_Destroy(path, NOFREE); --- 633,639 ---- char *dp = &dirpath[strlen(dirpath) - 1]; if (*dp == '/') *dp = '\0'; ! path = Lst_Init(); Dir_AddDir(path, dirpath); DirExpandInt(cp+1, path, expansions); Lst_Destroy(path, NOFREE);