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);