Package: inoticoming Version: 0.1.0-1 Severity: minor I found another instance of "forground".
Also, I wonder if you'd be willing to fflush(stdout); when output is directed to stdout? I run inoticoming with --foreground under runit/svlogd and the output of inoticoming and the output of the command it invokes are not properly intermingled in the svlogd log file unless I have inoticoming and the invoked command flush stdout after each line. -- Robert Edmonds [EMAIL PROTECTED]
--- inoticoming-0.1.0/inoticoming.c.orig 2007-07-14 17:53:57.735947000 -0400 +++ inoticoming-0.1.0/inoticoming.c 2007-07-14 17:56:45.803947000 -0400 @@ -86,6 +86,7 @@ static void dolog(const char *format, .. vsyslog(LOG_INFO, format, ap); } else { vfprintf(stdout, format, ap); + fflush(stdout); } va_end(ap); } @@ -528,7 +529,7 @@ static void parseaction(int argc, char * static void syntax(FILE *file, int exitcode) { fprintf(file, -"Syntax: %s [--logfile <file>] [--forground] <directory to watch> <actions>\n" +"Syntax: %s [--logfile <file>] [--foreground] <directory to watch> <actions>\n" "where action is: [--regexp <regexp>] [--chdir <dir>] command [<arguments>] ;\n", program); exit(exitcode);
signature.asc
Description: Digital signature