=== modified file 'TODO' --- TODO 2009-08-27 23:06:33 +0000 +++ TODO 2009-08-30 03:10:29 +0000 @@ -2,6 +2,18 @@ * mandos-client ** TODO [#A] Clean up /tmp directory and take down interface on signal +** TODO [#B] use scandir(3) instead of readdir(3) + +* splashy +** TODO [#A] Re-raise signal received when exiting due to handled signal. +** TODO [#B] use scandir(3) instead of readdir(3) + +* usplash +** TODO [#A] Re-raise signal received when exiting due to handled signal. +** TODO [#B] use scandir(3) instead of readdir(3) + +* password-prompt +** TODO [#A] Re-raise signal received when exiting due to handled signal. * plugin-runner ** TODO [#B] use scandir(3) instead of readdir(3) === modified file 'mandos' --- mandos 2009-08-27 23:06:33 +0000 +++ mandos 2009-08-30 03:10:29 +0000 @@ -901,7 +901,7 @@ def process_request(self, request, client_address): """Overrides and wraps the original process_request(). - This function creates a new pipe in self.pipe + This function creates a new pipe in self.pipe """ self.pipe = os.pipe() super(ForkingMixInWithPipe, === modified file 'mandos-ctl' --- mandos-ctl 2009-05-23 05:59:52 +0000 +++ mandos-ctl 2009-08-30 03:10:29 +0000 @@ -106,7 +106,7 @@ for client in clients)) for key in keywords) - print format_string % tuple(tablewords[key] for key in keywords) + print format_string % tuple(tablewords[key] for key in keywords) for client in clients: print format_string % tuple(valuetostring(client[key], key) for key in keywords) === modified file 'plugin-runner.c' --- plugin-runner.c 2009-02-12 19:08:35 +0000 +++ plugin-runner.c 2009-08-30 03:10:29 +0000 @@ -457,7 +457,7 @@ plugindir = strdup(arg); if(plugindir == NULL){ perror("strdup"); - } + } break; case 129: /* --config-file */ /* This is already done by parse_opt_config_file() */ @@ -527,7 +527,7 @@ if(argfile == NULL){ perror("strdup"); } - break; + break; case 130: /* --userid */ case 131: /* --groupid */ case 132: /* --debug */ @@ -562,7 +562,7 @@ conffp = fopen(AFILE, "r"); } else { conffp = fopen(argfile, "r"); - } + } if(conffp != NULL){ char *org_line = NULL; char *p, *arg, *new_arg, *line; @@ -612,7 +612,7 @@ goto fallback; } custom_argv[custom_argc-1] = new_arg; - custom_argv[custom_argc] = NULL; + custom_argv[custom_argc] = NULL; } } free(org_line); === modified file 'plugins.d/askpass-fifo.c' --- plugins.d/askpass-fifo.c 2009-01-10 06:00:50 +0000 +++ plugins.d/askpass-fifo.c 2009-08-30 03:10:29 +0000 @@ -29,7 +29,7 @@ #include /* and */ #include /* errno, EEXIST */ #include /* perror() */ -#include /* EXIT_FAILURE, NULL, size_t, free(), +#include /* EXIT_FAILURE, NULL, size_t, free(), realloc(), EXIT_SUCCESS */ #include /* open(), O_RDONLY */ #include /* read(), close(), write(), === modified file 'plugins.d/mandos-client.c' --- plugins.d/mandos-client.c 2009-08-30 02:49:46 +0000 +++ plugins.d/mandos-client.c 2009-08-30 03:10:29 +0000 @@ -249,7 +249,7 @@ return false; } - return true; + return true; } /* === modified file 'plugins.d/password-prompt.c' --- plugins.d/password-prompt.c 2009-02-05 02:33:05 +0000 +++ plugins.d/password-prompt.c 2009-08-30 03:10:29 +0000 @@ -194,7 +194,7 @@ const char *cryptsource = getenv("cryptsource"); const char *crypttarget = getenv("crypttarget"); const char *const prompt - = "Enter passphrase to unlock the disk"; + = "Enter passphrase to unlock the disk"; if(cryptsource == NULL){ if(crypttarget == NULL){ fprintf(stderr, "%s: ", prompt);