[BusyBox-cvs] CVS update of busybox/sysklogd (syslogd.c)
Glenn McGrath
bug1 at codepoet.org
Thu Jul 22 04:23:19 UTC 2004
Date: Wednesday, July 21, 2004 @ 22:23:19
Author: bug1
Path: /var/cvs/busybox/sysklogd
Modified: syslogd.c (1.112 -> 1.113)
Reverse my previous change, "::" is a GNU getopt extension that allows
an optional argument.
Looks like a glibc bug to me
Index: busybox/sysklogd/syslogd.c
diff -u busybox/sysklogd/syslogd.c:1.112 busybox/sysklogd/syslogd.c:1.113
--- busybox/sysklogd/syslogd.c:1.112 Wed Jul 21 07:06:30 2004
+++ busybox/sysklogd/syslogd.c Wed Jul 21 22:23:18 2004
@@ -31,6 +31,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+#include <getopt.h>
#include <netdb.h>
#include <paths.h>
#include <signal.h>
@@ -631,7 +632,7 @@
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;
More information about the busybox-cvs
mailing list