From f920193f3d5575b6823fd77b71920cc5c52461b1 Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Thu, 3 Apr 2008 16:40:38 +0000 Subject: [PATCH] - if there is unknown key in pkguinf, don't call n_assert(0). This fix allows to add additional data into indexes. Changed files: poldek-pkguinf-kill-assert.patch -> 1.1 --- poldek-pkguinf-kill-assert.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 poldek-pkguinf-kill-assert.patch diff --git a/poldek-pkguinf-kill-assert.patch b/poldek-pkguinf-kill-assert.patch new file mode 100644 index 0000000..f2b244a --- /dev/null +++ b/poldek-pkguinf-kill-assert.patch @@ -0,0 +1,13 @@ +diff -urN poldek-0.30-cvs20080225.00/pkgu.c poldek-0.30-cvs20080225.00.new/pkgu.c +--- poldek-0.30-cvs20080225.00/pkgu.c 2008-02-24 23:14:08.000000000 +0100 ++++ poldek-0.30-cvs20080225.00.new/pkgu.c 2008-04-03 18:05:23.000000000 +0200 +@@ -493,9 +493,6 @@ + case PKGUINF_DISTRO: + set_member(pkgu, &pkgu->distro, val, len); + break; +- +- default: +- n_assert(0); + } + } + } -- 2.44.0