diff options
Diffstat (limited to 'gunzip.c')
-rw-r--r-- | gunzip.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -118,6 +118,9 @@ extern int gunzip_main(int argc, char **argv) | |||
118 | /* Open input file */ | 118 | /* Open input file */ |
119 | in_file = xfopen(if_name, "r"); | 119 | in_file = xfopen(if_name, "r"); |
120 | 120 | ||
121 | /* set the buffer size */ | ||
122 | setvbuf(in_file, NULL, _IOFBF, 0x8000); | ||
123 | |||
121 | /* Get the time stamp on the input file. */ | 124 | /* Get the time stamp on the input file. */ |
122 | if (stat(if_name, &stat_buf) < 0) { | 125 | if (stat(if_name, &stat_buf) < 0) { |
123 | error_msg_and_die("Couldn't stat file %s", if_name); | 126 | error_msg_and_die("Couldn't stat file %s", if_name); |