mirror of git://gcc.gnu.org/git/gcc.git
* 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 |
||
|---|---|---|
| .. | ||
| Adler32.java | ||
| CRC32.java | ||
| CheckedInputStream.java | ||
| CheckedOutputStream.java | ||
| Checksum.java | ||
| DataFormatException.java | ||
| Deflater.java | ||
| DeflaterOutputStream.java | ||
| GZIPInputStream.java | ||
| GZIPOutputStream.java | ||
| Inflater.java | ||
| InflaterInputStream.java | ||
| ZipConstants.java | ||
| ZipEntry.java | ||
| ZipException.java | ||
| ZipFile.java | ||
| ZipInputStream.java | ||
| ZipOutputStream.java | ||
| natDeflater.cc | ||
| natInflater.cc | ||