On Mon, October 16, 2006 10:31 am, McDonald, Dan said:
> On Mon, 2006-10-16 at 14:23 +0100, Stephen Gran wrote:
>> On Mon, Oct 16, 2006 at 08:55:24AM -0400, Robert Blayzor said:
>> > Balzi Andrea wrote:
>> > > FixStaleSocket
>> > >               Remove stale socket after unclean shutdown.
>> > >               Default: disabled
>> > >
>> > > What are the value to setup it? True? 1?
>> >
>> >
>> > Perhaps the config parser could be made smart enough to accept
>> > (0|1)|(true|false)|(on|off).  Then bool wouldn't be in question.
>>
>> if(!strcasecmp(arg, "yes") || !strcmp(arg, "1") || !strcasecmp(arg,
>> "true")) {
>>
>> That's exactly what it does.
>
> Except it doesn't allow "on", which Robert suggested was a potential
> answer, I assume from analogy with apache config files.

Or 'enabled' or...

There are a million possible choices.  Just support the most common, and
document what it does support.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to