syslogd -C option argument bug (was: wishlist)

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Mon Oct 24 20:55:31 UTC 2005


On Mon, 24 Oct 2005, Cristian Ionescu-Idbohrn wrote:

> Jay Rogozinsky wrote:
>
> > Not as far as I can tell ...  CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE is
> > the constant which determines the default size of the buffer used - it
> > is not the maximum.
> > CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE is used by default unless the -C
> > command option specifies larger.
>
> So it seems. I'll have to test that again.

Back from the drawing board :)

This is busybox v1.1.0-pre1, 2005-10-23 snapshot.
Looks like this is a bug in getopt.

When using optstring "C::", getopt will ignore the command line option
argument. Changing optstring to "C:", makes syslogd behave as expected.


Cheers,
Cristian



More information about the busybox mailing list