Audit bb_common_bufsiz usage, add script which looks for misuse.

tr: stop using globals needlessly.
code: -103 bytes
This commit is contained in:
Denis Vlasenko
2007-06-04 10:16:52 +00:00
parent 4e5f82c76f
commit 74324c8666
21 changed files with 141 additions and 135 deletions

View File

@ -54,7 +54,7 @@ WTMP_FILE;
# error unknown path to wtmp file
#endif
char bb_common_bufsiz1[(BUFSIZ > 256*sizeof(void*) ? BUFSIZ : 256*sizeof(void*)) + 1];
char bb_common_bufsiz1[COMMON_BUFSIZE];
struct globals;
/* Make it reside in R/W memory: */