Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt

This commit is contained in:
Glenn L McGrath 2001-07-13 06:51:56 +00:00
parent 26a0d9a945
commit 5e66a26eaa
3 changed files with 0 additions and 9 deletions

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

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

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