9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bunzip2 looping
@ 2002-05-07  2:01 Russ Cox
  0 siblings, 0 replies; only message in thread
From: Russ Cox @ 2002-05-07  2:01 UTC (permalink / raw)
  To: 9fans

/sys/src/cmd/bzip2/bunzip2.c

		if(onemore == 0)
			break;
>>		if(strm.avail_in == 0 && strm.avail_out == sizeof obuf){
>>			fprint(2, "early eof\n");
>>			break;
>>		}
	} while((e=BZ2_bzDecompress(&strm)) == BZ_OK || onemore--);

add the marked lines.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-07  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-07  2:01 [9fans] bunzip2 looping Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).