[U-Boot] [PATCH] lib: zlib: update to 1.2.6

Lei Wen adrian.wenl at gmail.com
Tue Mar 6 09:55:19 CET 2012


In this patch, I update the current zlib from 1.2.5 to 1.2.6.

There is a lot of warnings when using checkpatch script, I don't know whether
I should fix it or not...
Since it is just copy from as it is from upstream zlib 1.2.6, so I didn't do
the correction, so don't be panic when use checkpatch.

Best regards,

As it copy from zlib home page, the improvement from 1.2.5 to 1.2.6
contains following:

gzread() can now read a file that is being written concurrently
gzgetc() is now a macro for increased speed
Added a 'T' option to gzopen() for transparent writing (no compression)
Added deflatePending() to return the amount of pending output
Allow deflateSetDictionary() and inflateSetDictionary() at any time in
raw mode
deflatePrime() can now insert bits in the middle of the stream
./configure now creates a configure.log file with all of the results
Added a ./configure --solo option to compile zlib with no dependency on
any libraries
Fixed a problem with large file support macros
Fixed a bug in contrib/puff
Many portability improvements

Signed-off-by: Lei Wen <leiwen at marvell.com>

 include/u-boot/zlib.h | 2002 +++++++++++++++++++++++++++++++++++++------------
 lib/zlib/adler32.c    |  112 ++-
 lib/zlib/inffast.c    |  139 ++--
 lib/zlib/inffast.h    |    4 +-
 lib/zlib/inffixed.h   |    6 +-
 lib/zlib/inflate.c    |  727 ++++++++++++++++---
 lib/zlib/inflate.h    |   31 +-
 lib/zlib/inftrees.c   |   93 +--
 lib/zlib/inftrees.h   |   27 +-
 lib/zlib/zutil.c      |  282 +++++++-
 lib/zlib/zutil.h      |  185 ++++-
 11 files changed, 2790 insertions(+), 818 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-zlib-update-to-1.2.6.patch
Type: application/octet-stream
Size: 190236 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120306/b5ff44ce/attachment.obj>

More information about the U-Boot mailing list