Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt
This commit is contained in:
parent
26a0d9a945
commit
5e66a26eaa
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user