[Pkg-haskell-commits] darcs: frown: fix logic error in debian/patches/07_no-n-plus-k-pattern
Helmut Grohne
helmut at subdivi.de
Wed Dec 7 18:33:17 UTC 2011
Wed Dec 7 18:27:01 UTC 2011 Helmut Grohne <helmut at subdivi.de>
* fix logic error in debian/patches/07_no-n-plus-k-pattern
Ignore-this: 69dbf9cf70e692c3160cedfc652ba3eb
M ./changelog +8
M ./patches/07_no-n-plus-k-pattern -1 +1
Wed Dec 7 18:27:01 UTC 2011 Helmut Grohne <helmut at subdivi.de>
* fix logic error in debian/patches/07_no-n-plus-k-pattern
Ignore-this: 69dbf9cf70e692c3160cedfc652ba3eb
diff -rN -u old-frown//changelog new-frown//changelog
--- old-frown//changelog 2011-12-07 18:33:17.450269547 +0000
+++ new-frown//changelog 2011-12-07 18:33:17.450269547 +0000
@@ -1,3 +1,11 @@
+frown (0.6.1-11.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "OOM on compiling any remotely valid grammer" fix logic error in
+ debian/patches/07_no-n-plus-k-pattern (Closes: #650808)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 07 Dec 2011 17:35:30 +0100
+
frown (0.6.1-11) unstable; urgency=low
[ Marco Silva ]
diff -rN -u old-frown//patches/07_no-n-plus-k-pattern new-frown//patches/07_no-n-plus-k-pattern
--- old-frown//patches/07_no-n-plus-k-pattern 2011-12-07 18:33:17.450269547 +0000
+++ new-frown//patches/07_no-n-plus-k-pattern 2011-12-07 18:33:17.459701446 +0000
@@ -9,7 +9,7 @@
-> build (n + 1) x = (Node l a v r, z)
-> where m = n `div` 2
+> build n x = (Node l a v r, z)
-+> where m = n-1 `div` 2
++> where m = (n-1) `div` 2
> (l, (a, v) : y) = build m x
-> (r, z) = build (n - m) y
+> (r, z) = build (n - 1 - m) y
More information about the Pkg-haskell-commits
mailing list