diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 31ded7e9c..fce10f310 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -931,8 +931,8 @@ extern const int const_int_1; | |||
931 | #ifndef BUFSIZ | 931 | #ifndef BUFSIZ |
932 | #define BUFSIZ 4096 | 932 | #define BUFSIZ 4096 |
933 | #endif | 933 | #endif |
934 | // TODO: provide hard guarantees on minimum size of bb_common_bufsiz1 | 934 | /* Providing hard guarantee on minimum size (think of BUFSIZ == 128) */ |
935 | extern char bb_common_bufsiz1[BUFSIZ+1]; | 935 | extern char bb_common_bufsiz1[(BUFSIZ > 256*sizeof(void*) ? BUFSIZ : 256*sizeof(void*)) + 1]; |
936 | /* This struct is deliberately not defined. */ | 936 | /* This struct is deliberately not defined. */ |
937 | /* See docs/keep_data_small.txt */ | 937 | /* See docs/keep_data_small.txt */ |
938 | struct globals; | 938 | struct globals; |