SOURCES: poldek-pkguinf-kill-assert.patch (NEW) - if there is unkn...

megabajt megabajt at pld-linux.org
Thu Apr 3 18:40:43 CEST 2008


Author: megabajt                     Date: Thu Apr  3 16:40:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- if there is unknown key in pkguinf, don't call n_assert(0). This fix allows
  to add additional data into indexes.

---- Files affected:
SOURCES:
   poldek-pkguinf-kill-assert.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/poldek-pkguinf-kill-assert.patch
diff -u /dev/null SOURCES/poldek-pkguinf-kill-assert.patch:1.1
--- /dev/null	Thu Apr  3 18:40:43 2008
+++ SOURCES/poldek-pkguinf-kill-assert.patch	Thu Apr  3 18:40:38 2008
@@ -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);
+             }
+         }
+     }
================================================================


More information about the pld-cvs-commit mailing list