diff options
author | "Vladimir N. Oleynik" | 2005-10-15 10:23:55 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-10-15 10:23:55 +0000 |
commit | 6f347ef9dc540aaea025c0575e586817cd85cc8e (patch) | |
tree | 5fc98f67e92bb2eca75d33940a4f8698bb216f3a /coreutils/tee.c | |
parent | 84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff) | |
download | busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz |
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'coreutils/tee.c')
-rw-r--r-- | coreutils/tee.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/coreutils/tee.c b/coreutils/tee.c index ba2e10f..1160fc9 100644 --- a/coreutils/tee.c +++ b/coreutils/tee.c @@ -39,7 +39,7 @@ int tee_main(int argc, char **argv) int retval = EXIT_SUCCESS; #ifdef CONFIG_FEATURE_TEE_USE_BLOCK_IO ssize_t c; - RESERVE_CONFIG_BUFFER(buf, BUFSIZ); +# define buf bb_common_bufsiz1 #else int c; #endif @@ -88,10 +88,6 @@ int tee_main(int argc, char **argv) retval = EXIT_FAILURE; } -#ifdef CONFIG_FEATURE_CLEAN_UP - RELEASE_CONFIG_BUFFER(buf); -#endif - #else setvbuf(stdout, NULL, _IONBF, 0); while ((c = getchar()) != EOF) { |