diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-01 21:28:45 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-01 21:28:45 +0000 |
commit | 1e3cd04be9565704fb97be6d733636dea0442cf2 (patch) | |
tree | 9640fc2c26ad169c5b16796e5cb191e977dd682c /libjava/java/io/natFileWin32.cc | |
parent | a0844d0b2adf3473c349db54ab230588c4422551 (diff) | |
download | ppe42-gcc-1e3cd04be9565704fb97be6d733636dea0442cf2.tar.gz ppe42-gcc-1e3cd04be9565704fb97be6d733636dea0442cf2.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40988 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io/natFileWin32.cc')
0 files changed, 0 insertions, 0 deletions