=== modified file 'TODO' --- TODO 2010-01-01 15:17:12 +0000 +++ TODO 2010-03-27 18:39:02 +0000 @@ -36,6 +36,7 @@ * plugin-runner ** TODO [#B] use scandir(3) instead of readdir(3) ** TODO [#C] use same file name rules as run-parts(8) +** kernel command line option for debug info ** TODO [#B] use error() instead of perror() * mandos (server) @@ -71,6 +72,7 @@ * mandos.xml ** [[file:mandos.xml::XXX][Document D-Bus interface]] Remove mention of lack of such interface in BUGS section +** Add mandos contact info in manual pages * TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf === modified file 'plugin-runner.c' --- plugin-runner.c 2009-11-05 01:59:51 +0000 +++ plugin-runner.c 2010-03-27 18:39:02 +0000 @@ -54,7 +54,7 @@ #include /* fcntl(), F_GETFD, F_SETFD, FD_CLOEXEC */ #include /* strsep, strlen(), asprintf(), - strsignal() */ + strsignal(), strcmp(), strncmp() */ #include /* errno */ #include /* struct argp_option, struct argp_state, struct argp, @@ -844,7 +844,7 @@ for(const char **suf = bad_suffixes; *suf != NULL; suf++){ size_t suf_len = strlen(*suf); if((d_name_len >= suf_len) - and (strcmp((dirst->d_name)+d_name_len-suf_len, *suf) + and (strcmp((dirst->d_name) + d_name_len-suf_len, *suf) == 0)){ if(debug){ fprintf(stderr, "Ignoring plugin dir entry \"%s\"" === modified file 'plugins.d/password-prompt.c' --- plugins.d/password-prompt.c 2009-10-30 16:23:43 +0000 +++ plugins.d/password-prompt.c 2010-03-27 18:39:02 +0000 @@ -46,7 +46,7 @@ */ #include /* or, not */ #include /* bool, false, true */ -#include /* strlen, rindex, strncmp, strcmp */ +#include /* strlen, rindex */ #include /* struct argp_option, struct argp_state, struct argp, argp_parse(), error_t,