From: Glenn L McGrath Date: Thu, 22 Jul 2004 04:23:18 +0000 (-0000) Subject: Reverse my previous change, "::" is a GNU getopt extension that allows X-Git-Tag: 1_00_rc2~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5529b7bb874396af53552cf12e3e354693350ba2;p=oweals%2Fbusybox.git Reverse my previous change, "::" is a GNU getopt extension that allows an optional argument. Looks like a glibc bug to me --- diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 8534c0ad0..2023873a8 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -631,7 +632,7 @@ extern int syslogd_main(int argc, char **argv) char *p; /* do normal option parsing */ - while ((opt = getopt(argc, argv, "m:nO:s:Sb:R:LC:")) > 0) { + while ((opt = getopt(argc, argv, "m:nO:s:Sb:R:LC::")) > 0) { switch (opt) { case 'm': MarkInterval = atoi(optarg) * 60;