diff options
author | Denys Vlasenko | 2016-11-04 14:13:58 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-04 14:13:58 +0100 |
commit | 834aba3b72cb0e45153b95fed991522f7f1986c9 (patch) | |
tree | 64933338d889ae66ec0f8b7a85efc391d36d57b4 /libbb/common_bufsiz.c | |
parent | 79e2598c48ad7e41d523f62368454c7d74f48268 (diff) | |
download | busybox-834aba3b72cb0e45153b95fed991522f7f1986c9.zip busybox-834aba3b72cb0e45153b95fed991522f7f1986c9.tar.gz |
comment and readme updates
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/common_bufsiz.c')
-rw-r--r-- | libbb/common_bufsiz.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libbb/common_bufsiz.c b/libbb/common_bufsiz.c index 1a35851..2847eb5 100644 --- a/libbb/common_bufsiz.c +++ b/libbb/common_bufsiz.c @@ -54,6 +54,15 @@ char bb_common_bufsiz1[COMMON_BUFSIZE] ALIGNED(sizeof(long long)); #else # ifndef setup_common_bufsiz +/* For now, this is never used: + * scripts/generate_BUFSIZ.sh never generates "malloced" bufsiz1: + * enum { COMMON_BUFSIZE = 1024 }; + * extern char *const bb_common_bufsiz1; + * void setup_common_bufsiz(void); + * This has proved to be worse than the approach of defining + * larger bb_common_bufsiz1[] array. + */ + /* * It is not defined as a dummy macro. * It means we have to provide this function. |