commit | 74324c86663f57a19c1de303ee8c8e5449db9ef2 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jun 04 10:16:52 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jun 04 10:16:52 2007 +0000 |
tree | 11f5da9de4212875ce5811be2e1050e076378c9a | |
parent | 4e5f82c76f08614d0b69f9ec4a8baac303af15f6 [diff] [blame] |
Audit bb_common_bufsiz usage, add script which looks for misuse. tr: stop using globals needlessly. code: -103 bytes
diff --git a/debianutils/readlink.c b/debianutils/readlink.c index b6b4965..d454cbf 100644 --- a/debianutils/readlink.c +++ b/debianutils/readlink.c
@@ -43,7 +43,7 @@ return EXIT_FAILURE; puts(buf); - if (ENABLE_FEATURE_CLEAN_UP && buf != bb_common_bufsiz1) + if (ENABLE_FEATURE_CLEAN_UP && !opt) free(buf); fflush_stdout_and_exit(EXIT_SUCCESS);