diff options
author | Hartmut Brandt <harti@FreeBSD.org> | 2005-03-15 15:05:14 +0000 |
---|---|---|
committer | Hartmut Brandt <harti@FreeBSD.org> | 2005-03-15 15:05:14 +0000 |
commit | d735bf8813334302491b50a9df94376f1aac3f9a (patch) | |
tree | 1c8e7aa7931241151a8db237bb49c3fb184d60dd /usr.bin/make/lst.c | |
parent | 19015c15ed10cb3640f69ccec5299c04b904d4cd (diff) | |
download | src-d735bf8813334302491b50a9df94376f1aac3f9a.tar.gz src-d735bf8813334302491b50a9df94376f1aac3f9a.zip |
modifier_M: instead of going through the string twice to compute the
size of the buffer we need, just allocate the possible maximum.
Patch: 7.117
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes
Notes:
svn path=/head/; revision=143656
Diffstat (limited to 'usr.bin/make/lst.c')
-rw-r--r-- | usr.bin/make/lst.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/lst.c b/usr.bin/make/lst.c index db4d83cb59b9..cb2523431769 100644 --- a/usr.bin/make/lst.c +++ b/usr.bin/make/lst.c @@ -475,6 +475,7 @@ Lst_Remove(Lst *list, LstNode *ln) if (ln->useCount == 0) { free(ln); } else { +printf("USE COUNT %d\n", ln->useCount); ln->flags |= LN_DELETED; } } |