packages: man-db/so-include.patch - cosmetics, use 0-char not NULL
baggins
baggins at pld-linux.org
Tue Mar 20 18:35:43 CET 2012
Author: baggins Date: Tue Mar 20 17:35:43 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- cosmetics, use 0-char not NULL
---- Files affected:
packages/man-db:
so-include.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/man-db/so-include.patch
diff -u packages/man-db/so-include.patch:1.1 packages/man-db/so-include.patch:1.2
--- packages/man-db/so-include.patch:1.1 Tue Mar 20 18:03:26 2012
+++ packages/man-db/so-include.patch Tue Mar 20 18:35:38 2012
@@ -7,7 +7,7 @@
+ if (strchr(include, '/') == NULL) {
+ char *sec = strrchr(include, '.');
+ debug ("ult_src: wrong .so include %s\n", buffer);
-+ if (sec != NULL && *sec++ != NULL) {
++ if (sec != NULL && *sec++ != '\0') {
+ free (base);
+ base = appendstr (NULL, path, "/man", sec, "/", include, NULL);
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org//packages/man-db/so-include.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list