This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
patch to ZipOutputStream
- From: Per Bothner <per at bothner dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Sat, 19 Jan 2002 12:53:31 -0800
- Subject: patch to ZipOutputStream
I checked in the following. (This class has not been merged
with Classpath.)
2002-01-19 Per Bothner <per@bothner.com>
* java/util/zip/ZipOutputStream.java (putNextEntry): Clear
uncompressed_size in readiness for next entry.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
Index: ZipOutputStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/zip/ZipOutputStream.java,v
retrieving revision 1.9
diff -u -r1.9 ZipOutputStream.java
--- ZipOutputStream.java 2001/04/01 21:28:45 1.9
+++ ZipOutputStream.java 2002/01/19 20:49:54
@@ -237,6 +237,7 @@
def.reset();
def.setLevel(compr);
sum.reset();
+ uncompressed_size = 0;
}
public void setLevel (int level)