aboutsummaryrefslogtreecommitdiff
path: root/gunzip.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-25 23:49:09 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-25 23:49:09 +0000
commitd35c21587a4139031c077fd122252217a4713681 (patch)
tree7bd14fd247492c00f3d38ae1dbd7727e03fda9ad /gunzip.c
parentffde8673fe8b2c32076aa3e01eab1fefc5f08e86 (diff)
downloadbusybox-w32-d35c21587a4139031c077fd122252217a4713681.tar.gz
busybox-w32-d35c21587a4139031c077fd122252217a4713681.tar.bz2
busybox-w32-d35c21587a4139031c077fd122252217a4713681.zip
Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.
-Erik
Diffstat (limited to 'gunzip.c')
-rw-r--r--gunzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gunzip.c b/gunzip.c
index 194921682..09571f91c 100644
--- a/gunzip.c
+++ b/gunzip.c
@@ -1222,8 +1222,8 @@ int gunzip_main(int argc, char **argv)
1222 int force = 0; 1222 int force = 0;
1223 struct stat statBuf; 1223 struct stat statBuf;
1224 char *delFileName; 1224 char *delFileName;
1225 char ifname[MAX_PATH_LEN + 1]; /* input file name */ 1225 RESERVE_BB_BUFFER(ifname, MAX_PATH_LEN+1); /* input file name */
1226 char ofname[MAX_PATH_LEN + 1]; /* output file name */ 1226 RESERVE_BB_BUFFER(ofname, MAX_PATH_LEN+1); /* output file name */
1227 1227
1228 method = DEFLATED; /* default compression method */ 1228 method = DEFLATED; /* default compression method */
1229 exit_code = OK; /* let's go out on a limb and assume everything will run fine (wink wink) */ 1229 exit_code = OK; /* let's go out on a limb and assume everything will run fine (wink wink) */