From 5e66a26eaa30d348341619a365888e54dab3af1e Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Fri, 13 Jul 2001 06:51:56 +0000 Subject: Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt --- archival/libunarchive/decompress_unzip.c | 3 --- archival/libunarchive/unzip.c | 3 --- 2 files changed, 6 deletions(-) (limited to 'archival/libunarchive') 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); -- cgit v1.2.3