aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-07-13 06:51:56 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-07-13 06:51:56 +0000
commit5e66a26eaa30d348341619a365888e54dab3af1e (patch)
tree71ff5e3f1536802a26bdbfefa6aa1a4cb5a0eedb
parent26a0d9a9454ef2075079c74844297e61cd5e0293 (diff)
downloadbusybox-5e66a26eaa30d348341619a365888e54dab3af1e.tar.gz
Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt
-rw-r--r--archival/libunarchive/decompress_unzip.c3
-rw-r--r--archival/libunarchive/unzip.c3
-rw-r--r--libbb/unzip.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c
index 23bf6c73c..359957196 100644
--- a/archival/libunarchive/decompress_unzip.c
+++ b/archival/libunarchive/decompress_unzip.c
@@ -925,9 +925,6 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file)
outcnt = 0;
bytes_out = 0L;
- /* set the buffer size */
- setvbuf(in_file, NULL, _IOFBF, 0x8000);
-
magic[0] = fgetc(in_file);
magic[1] = fgetc(in_file);
diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c
index 23bf6c73c..359957196 100644
--- a/archival/libunarchive/unzip.c
+++ b/archival/libunarchive/unzip.c
@@ -925,9 +925,6 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file)
outcnt = 0;
bytes_out = 0L;
- /* set the buffer size */
- setvbuf(in_file, NULL, _IOFBF, 0x8000);
-
magic[0] = fgetc(in_file);
magic[1] = fgetc(in_file);
diff --git a/libbb/unzip.c b/libbb/unzip.c
index 23bf6c73c..359957196 100644
--- a/libbb/unzip.c
+++ b/libbb/unzip.c
@@ -925,9 +925,6 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file)
outcnt = 0;
bytes_out = 0L;
- /* set the buffer size */
- setvbuf(in_file, NULL, _IOFBF, 0x8000);
-
magic[0] = fgetc(in_file);
magic[1] = fgetc(in_file);