diff toys/bzcat.c @ 64:67ee3a0b76e1

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().
author Rob Landley <rob@landley.net>
date Thu, 18 Jan 2007 22:00:12 -0500
parents 60a7fb8ddeb4
children 25447caf1b4b
line wrap: on
line diff
--- a/toys/bzcat.c	Thu Jan 18 21:54:08 2007 -0500
+++ b/toys/bzcat.c	Thu Jan 18 22:00:12 2007 -0500
@@ -7,8 +7,7 @@
 
 int bzcat_main(void)
 {
-	char *error = bunzipStream(0, 1);
+	bunzipStream(0, 1);
 
-	if (error) error_exit(error);
 	return 0;
 }