From 6000f13e8ac8c17c1f01fcafc8066bb7b419f224 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 18 Jan 2007 22:00:12 -0500 Subject: 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(). --- toys/bzcat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'toys/bzcat.c') 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; } -- cgit v1.2.3