diff options
author | jkh <jkh@FreeBSD.org> | 1995-01-23 21:03:17 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-01-23 21:03:17 +0000 |
commit | 2dab142d474fb234edc194c7335fd5a627df77a6 (patch) | |
tree | 4fe60a8bd60f90f8461d826b8a6c0cd471c798d3 /usr.bin/make/dir.h | |
parent | a8745a0ec131df320b6a7be781964c129c33644f (diff) | |
download | FreeBSD-src-2dab142d474fb234edc194c7335fd5a627df77a6.zip FreeBSD-src-2dab142d474fb234edc194c7335fd5a627df77a6.tar.gz |
Bring in a number of changes from NetBSD's make, fixing quite a few
problems in the process:
1. Quoting should work properly now. In particular, Chet's reported bash
make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
This should cause make to take up a LOT less memory when dealing with
archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
Diffstat (limited to 'usr.bin/make/dir.h')
-rw-r--r-- | usr.bin/make/dir.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/usr.bin/make/dir.h b/usr.bin/make/dir.h index 09edcd6..dd0c2a7 100644 --- a/usr.bin/make/dir.h +++ b/usr.bin/make/dir.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 1988, 1989, 1990, 1993 - * The Regents of the University of California. All rights reserved. + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * Copyright (c) 1988, 1989 by Adam de Boor * Copyright (c) 1989 by Berkeley Softworks * All rights reserved. * @@ -52,19 +52,19 @@ typedef struct Path { Hash_Table files; /* Hash table of files in directory */ } Path; -void Dir_AddDir __P((Lst, char *)); -void Dir_ClearPath __P((Lst)); -void Dir_Concat __P((Lst, Lst)); -ClientData - Dir_CopyDir __P((Path *)); -void Dir_Destroy __P((Path *)); -void Dir_Expand __P((char *, Lst, Lst)); -char *Dir_FindFile __P((char *, Lst)); -Boolean Dir_HasWildcards __P((char *)); -void Dir_Init __P((void)); -char *Dir_MakeFlags __P((char *, Lst)); -int Dir_MTime __P((GNode *)); -void Dir_PrintDirectories __P((void)); -void Dir_PrintPath __P((Lst)); +void Dir_Init __P((void)); +void Dir_End __P((void)); +Boolean Dir_HasWildcards __P((char *)); +void Dir_Expand __P((char *, Lst, Lst)); +char *Dir_FindFile __P((char *, Lst)); +int Dir_MTime __P((GNode *)); +void Dir_AddDir __P((Lst, char *)); +char *Dir_MakeFlags __P((char *, Lst)); +void Dir_ClearPath __P((Lst)); +void Dir_Concat __P((Lst, Lst)); +void Dir_PrintDirectories __P((void)); +void Dir_PrintPath __P((Lst)); +void Dir_Destroy __P((ClientData)); +ClientData Dir_CopyDir __P((ClientData)); #endif /* _DIR */ |