diff options
author | Rob Landley <rob@landley.net> | 2007-01-18 22:00:12 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-01-18 22:00:12 -0500 |
commit | 6000f13e8ac8c17c1f01fcafc8066bb7b419f224 (patch) | |
tree | 5620ab49b2bdf8fd8189840067fdfd2020e4ba58 /toys | |
parent | 901637760b4206e968e73dd5ff7430c107c27b57 (diff) | |
download | toybox-6000f13e8ac8c17c1f01fcafc8066bb7b419f224.tar.gz |
In bunzip replace setjmp/longjmp handling with error_exit(), replace string
based handling of a 6-byte header with with two 24-bit integer reads. Use
xmalloc() and xzalloc().
Diffstat (limited to 'toys')
-rw-r--r-- | toys/bzcat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/bzcat.c b/toys/bzcat.c index 30437bb8..348a5939 100644 --- a/toys/bzcat.c +++ b/toys/bzcat.c @@ -7,8 +7,7 @@ int bzcat_main(void) { - char *error = bunzipStream(0, 1); + bunzipStream(0, 1); - if (error) error_exit(error); return 0; } |