ZipOutputStream.java (putNextEntry): Clear uncompressed_size in readiness for next entry.

* java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
	uncompressed_size in readiness for next entry.

From-SVN: r49014
This commit is contained in:
Per Bothner 2002-01-19 12:51:48 -08:00 committed by Per Bothner
parent eab854f689
commit e5550355c8
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-01-19 Per Bothner <per@bothner.com>
* java/util/zip/ZipOutputStream.java (putNextEntry): Clear
uncompressed_size in readiness for next entry.
2002-01-18 Tom Tromey <tromey@redhat.com>
* java/net/natPlainSocketImpl.cc: Include

View File

@ -237,6 +237,7 @@ public class ZipOutputStream extends DeflaterOutputStream
def.reset();
def.setLevel(compr);
sum.reset();
uncompressed_size = 0;
}
public void setLevel (int level)