diff options
author | Kenny Root <kroot@google.com> | 2013-08-22 09:36:13 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2013-08-22 10:58:33 -0700 |
commit | 2e6a64542c52490d89476bfd1b10b1938a8a0e99 (patch) | |
tree | 5e072006d504e55dd8c3d53d08ec94953ab4dfff /xml/src | |
parent | 99aaedc26d15bff0760ecb44e5e80d399f5cd691 (diff) | |
download | libcore-2e6a64542c52490d89476bfd1b10b1938a8a0e99.zip libcore-2e6a64542c52490d89476bfd1b10b1938a8a0e99.tar.gz libcore-2e6a64542c52490d89476bfd1b10b1938a8a0e99.tar.bz2 |
Better error messages for zlib errors
Most of the zlib inflater errors had a really descriptive name like
"data error," but more descriptive errors are put into the "msg" field
of the z_stream structure. Use that for error messages instead so we get
the underlying cause of the data error.
Additionally split out the code for ZipUtilities from the header into a
separate source file so things using NativeZipStream don't have to
forward declare.
Change-Id: Ifc12645b37f7aabc700e6a0766dee55b4c3609a0
Diffstat (limited to 'xml/src')
0 files changed, 0 insertions, 0 deletions