SOURCES: poldek-nodebug.patch (NEW) - disable some debug stuff whi...

arekm arekm at pld-linux.org
Thu Sep 22 20:07:47 CEST 2005


Author: arekm                        Date: Thu Sep 22 18:07:47 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- disable some debug stuff which probably caused segfaults in some cases

---- Files affected:
SOURCES:
   poldek-nodebug.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/poldek-nodebug.patch
diff -u /dev/null SOURCES/poldek-nodebug.patch:1.1
--- /dev/null	Thu Sep 22 20:07:47 2005
+++ SOURCES/poldek-nodebug.patch	Thu Sep 22 20:07:42 2005
@@ -0,0 +1,12 @@
+diff -urbB poldek-0.19.0-cvs20050921.00.org/tndb/read.c poldek-0.19.0-cvs20050921.00/tndb/read.c
+--- poldek-0.19.0-cvs20050921.00.org/tndb/read.c	2005-09-11 18:28:10.000000000 +0200
++++ poldek-0.19.0-cvs20050921.00/tndb/read.c	2005-09-22 20:02:31.885659750 +0200
+@@ -288,7 +288,7 @@
+     tndb_sign_final(&hdr->sign);
+     n = 0;
+ 
+-    printf("Xmd_compute =\n (%s)\n (%s)\n %d\n",
++    DBGF("Xmd_compute =\n (%s)\n (%s)\n %d\n",
+            n_strdup(tndb_bin2hex_s(hdr->sign.md, sizeof(sign.md))),
+            n_strdup((char*)tndb_bin2hex_s(sign.md, sizeof(sign.md))),
+            memcmp(sign.md, hdr->sign.md, sizeof(sign.md)));
================================================================



More information about the pld-cvs-commit mailing list