diff options
author | harti <harti@FreeBSD.org> | 2005-03-15 15:05:14 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-03-15 15:05:14 +0000 |
commit | 6fc3b6df1c0916bc4f43236c1d1a20721540c440 (patch) | |
tree | 1c8e7aa7931241151a8db237bb49c3fb184d60dd /usr.bin/make/lst.c | |
parent | c3d17f2e0346df737f3d9959b4f181039e65a741 (diff) | |
download | FreeBSD-src-6fc3b6df1c0916bc4f43236c1d1a20721540c440.zip FreeBSD-src-6fc3b6df1c0916bc4f43236c1d1a20721540c440.tar.gz |
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>
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 db4d83c..cb25234 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; } } |