gcc/libjava/java/util/zip
Per Bothner f44b63ae02 DeflaterOutputStream.java (deflate): Loop while def.needsInput.
* DeflaterOutputStream.java (deflate):  Loop while def.needsInput.
	(finish):  def.deflate needs to be called in a loop.
	(inbuf, inbufLength):  New private fields.
	(write(int)): Use inbuf.
	(write(byte[],int,int):  Check if pending output in inbuf.
	* ZipOutputStream.java:  Don't use Deflater if stored.
	Use a Checksum object directly, not via a CheckedOutputStream.
	(uncompressed_size):  New field,
	(closeEntry):  Only write data_directory if needed.
	(write):  If STORED, write directly.
	Always update crc, and uncompressed_size.
	(write_entry):  Fix lots of protocol erors.

From-SVN: r40988
2001-04-01 14:28:45 -07:00
..
Adler32.java
CheckedInputStream.java
CheckedOutputStream.java
Checksum.java
CRC32.java
DataFormatException.java
Deflater.java
DeflaterOutputStream.java
GZIPInputStream.java
GZIPOutputStream.java
Inflater.java
InflaterInputStream.java
natDeflater.cc
natInflater.cc
ZipConstants.java
ZipEntry.java
ZipException.java
ZipFile.java
ZipInputStream.java
ZipOutputStream.java