diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-19 20:51:48 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-19 20:51:48 +0000 |
commit | 75c214fa03e02fad4a83417c1d51e9b212e09ea4 (patch) | |
tree | 0fe1c66dab564a7dcc697825071e0e3a708ee5be /libjava/java/util/zip | |
parent | 3c06682800ce0b6446ded01c44ddd16fb657d451 (diff) | |
download | gcc-75c214fa03e02fad4a83417c1d51e9b212e09ea4.tar.gz |
* java/util/zip/ZipOutputStream.java (putNextEntry): Clear
uncompressed_size in readiness for next entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49014 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/zip')
-rw-r--r-- | libjava/java/util/zip/ZipOutputStream.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/java/util/zip/ZipOutputStream.java b/libjava/java/util/zip/ZipOutputStream.java index bcbc59154fb..cb549d62dd9 100644 --- a/libjava/java/util/zip/ZipOutputStream.java +++ b/libjava/java/util/zip/ZipOutputStream.java @@ -237,6 +237,7 @@ public class ZipOutputStream extends DeflaterOutputStream def.reset(); def.setLevel(compr); sum.reset(); + uncompressed_size = 0; } public void setLevel (int level) |