fixed in upstream 1.5
[debian/gzip] / debian / patches / determinism.diff
diff --git a/debian/patches/determinism.diff b/debian/patches/determinism.diff
deleted file mode 100644 (file)
index 7cd881b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-From 0a284baeaedca68017f46d2646e4c921aa98a90d Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Sun, 18 Mar 2012 18:07:02 +0000
-Subject: gzip: fix nondeterministic compression results
-
-Reported by Jakub Wilk in <http://bugs.debian.org/647522>.
-* deflate.c (fill_window): Don't let garbage pollute the dictionary.
----
-diff --git a/deflate.c b/deflate.c
-index 6c19552..5405f10 100644
---- a/deflate.c
-+++ b/deflate.c
-@@ -571,6 +571,8 @@ local void fill_window()
-         n = read_buf((char*)window+strstart+lookahead, more);
-         if (n == 0 || n == (unsigned)EOF) {
-             eofile = 1;
-+            /* Don't let garbage pollute the dictionary.  */
-+            memzero (window + strstart + lookahead, MIN_MATCH - 1);
-         } else {
-             lookahead += n;
-         }
---
-cgit v0.9.0.2