diff options
author | harti <harti@FreeBSD.org> | 2004-12-07 10:14:16 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-12-07 10:14:16 +0000 |
commit | e65ea2146d73aa6aedf8ef3fb0fd535039da6887 (patch) | |
tree | dc544ee893c2b95a0e4d64009cb9fe98b5598e7c /usr.bin/make/dir.c | |
parent | 4a639d6164f667049cce0046d22e760ca1aad3f2 (diff) | |
download | FreeBSD-src-e65ea2146d73aa6aedf8ef3fb0fd535039da6887.zip FreeBSD-src-e65ea2146d73aa6aedf8ef3fb0fd535039da6887.tar.gz |
Make needs no circular lists so remove them from the list code.
Diffstat (limited to 'usr.bin/make/dir.c')
-rw-r--r-- | usr.bin/make/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index 54576dd..e71c5d0 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -209,8 +209,8 @@ void Dir_Init(void) { - dirSearchPath = Lst_Init(FALSE); - openDirectories = Lst_Init(FALSE); + dirSearchPath = Lst_Init(); + openDirectories = Lst_Init(); Hash_InitTable(&mtimes, 0); } @@ -621,7 +621,7 @@ Dir_Expand(char *word, Lst path, Lst expansions) if (*dp == '/') *dp = '\0'; - path = Lst_Init(FALSE); + path = Lst_Init(); Dir_AddDir(path, dirpath); DirExpandInt(cp + 1, path, expansions); |