diff options
author | harti <harti@FreeBSD.org> | 2004-12-08 08:11:59 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-12-08 08:11:59 +0000 |
commit | bde7bbf9ad62c24bcf5c8ca7fc0423db69e01699 (patch) | |
tree | a7ee9927fa2e9d0ed7221a08d2ef7ecdf58e3840 /usr.bin/make/make.h | |
parent | 979de51e35ba33e737fc2b53a531376af247283d (diff) | |
download | FreeBSD-src-bde7bbf9ad62c24bcf5c8ca7fc0423db69e01699.zip FreeBSD-src-bde7bbf9ad62c24bcf5c8ca7fc0423db69e01699.tar.gz |
Consify the arguments to str_concat. Remove the STR_DOFREE flag for that
purpose and explicitely free the input string in the one place that was
calling str_concat with that flag.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r-- | usr.bin/make/make.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h index b23006f..bd894bd 100644 --- a/usr.bin/make/make.h +++ b/usr.bin/make/make.h @@ -239,12 +239,9 @@ typedef struct IFile { * final string should look. If STR_ADDSPACE is given, a space will be * placed between the two strings. If STR_ADDSLASH is given, a '/' will * be used instead of a space. If neither is given, no intervening characters - * will be placed between the two strings in the final output. If the - * STR_DOFREE bit is set, the two input strings will be freed before - * Str_Concat returns. + * will be placed between the two strings in the final output. */ #define STR_ADDSPACE 0x01 /* add a space when Str_Concat'ing */ -#define STR_DOFREE 0x02 /* free source strings after concatenation */ #define STR_ADDSLASH 0x04 /* add a slash when Str_Concat'ing */ /* |