tree 14c42b6484424f241807e2a78de5c8d5b8d8692f
parent 57e34ac96389c65a4546e6032ffbe43792f87d38
author Marcelo Tosatti <[EMAIL PROTECTED]> Fri, 19 Aug 2005 15:49:12 -0300
committer Marcelo Tosatti <[EMAIL PROTECTED]> Fri, 19 Aug 2005 15:49:12 -0300

Revert unnecessary arch/ppc64/boot/zlib.c

It turns out that empty distance code tables are not an error, and that
a compressed block with only literals can validly have an empty table
and should not be flagged as a data error.

Some old versions of gzip had problems with this case, but it does not
affect the zlib code in the kernel.

Analysis and explanations thanks to Sergey Vlasov <[EMAIL PROTECTED]>

 arch/ppc64/boot/zlib.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/ppc64/boot/zlib.c b/arch/ppc64/boot/zlib.c
--- a/arch/ppc64/boot/zlib.c
+++ b/arch/ppc64/boot/zlib.c
@@ -1294,7 +1294,7 @@ z_stream *zs;           /* for zalloc fu
     *t = (inflate_huft *)Z_NULL;
     *m = 0;
-    return Z_DATA_ERROR;
+    return Z_OK;
To unsubscribe from this list: send the line "unsubscribe git-commits-24" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to