mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-25 22:04:07 +08:00
re PR libgcj/8234 (ZipInputStream chokes when InputStream.read() returns small chunks)
Fix for PR libgcj/8234: * java/util/zip/natInflater.cc (reset): Reset avail_in. * java/util/zip/natDeflater.cc (reset): Reset avail_in. From-SVN: r58205
This commit is contained in:
parent
d09e61b9b0
commit
315b65915c
@ -1,3 +1,9 @@
|
||||
2002-10-15 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
Fix for PR libgcj/8234:
|
||||
* java/util/zip/natInflater.cc (reset): Reset avail_in.
|
||||
* java/util/zip/natDeflater.cc (reset): Reset avail_in.
|
||||
|
||||
2002-10-13 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* mauve-libgcj: Enable Mauve tests that compile now.
|
||||
|
@ -124,6 +124,7 @@ java::util::zip::Deflater::reset ()
|
||||
z_streamp s = (z_streamp) zstream;
|
||||
// Just ignore errors.
|
||||
deflateReset (s);
|
||||
s->avail_in = 0;
|
||||
flush_flag = 0;
|
||||
is_finished = false;
|
||||
}
|
||||
|
@ -149,6 +149,7 @@ java::util::zip::Inflater::reset ()
|
||||
z_streamp s = (z_streamp) zstream;
|
||||
// Just ignore errors.
|
||||
inflateReset (s);
|
||||
s->avail_in = 0;
|
||||
is_finished = false;
|
||||
dict_needed = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user