version 1.9, 1999/10/05 22:06:23 |
version 1.10, 1999/12/18 02:11:26 |
|
|
void |
void |
Dir_Init () |
Dir_Init () |
{ |
{ |
dirSearchPath = Lst_Init (FALSE); |
dirSearchPath = Lst_Init(); |
openDirectories = Lst_Init (FALSE); |
openDirectories = Lst_Init(); |
Hash_InitTable(&mtimes, 0); |
Hash_InitTable(&mtimes, 0); |
|
|
/* |
/* |
|
|
char *dp = &dirpath[strlen(dirpath) - 1]; |
char *dp = &dirpath[strlen(dirpath) - 1]; |
if (*dp == '/') |
if (*dp == '/') |
*dp = '\0'; |
*dp = '\0'; |
path = Lst_Init(FALSE); |
path = Lst_Init(); |
Dir_AddDir(path, dirpath); |
Dir_AddDir(path, dirpath); |
DirExpandInt(cp+1, path, expansions); |
DirExpandInt(cp+1, path, expansions); |
Lst_Destroy(path, NOFREE); |
Lst_Destroy(path, NOFREE); |