summaryrefslogtreecommitdiff
path: root/libjava/java/util/zip
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-19 20:51:48 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-19 20:51:48 +0000
commit75c214fa03e02fad4a83417c1d51e9b212e09ea4 (patch)
tree0fe1c66dab564a7dcc697825071e0e3a708ee5be /libjava/java/util/zip
parent3c06682800ce0b6446ded01c44ddd16fb657d451 (diff)
downloadgcc-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.java1
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)