Re: [squid-users] squid.conf bug?

From: Michel Santos <michel@dont-contact.us>
Date: Wed, 31 Jan 2007 02:00:07 -0200 (BRST)

Adrian Chadd disse na ultima mensagem:

> What you want to do is find the code which parses the arguments (which is
> debugArg() in debug.c) and the routine which parses the actual debug
> options
> list (which is _db_init() in debug.c) and teach them about the #
> character.
> Personally, I'd put the check in _db_init() - check whether *s == '#' and
> if so
> break out of that for loop. That, however, assumes you want the semantics
> of "all options after # are ignored" rather than "that one particular
> option
> with the # in front of it is ignored.". Not that the latter would be hard
> to do,
> mind.
>
> So hack it up, document the semantics in cf.data.pre (which is used to
> generate
> squid.conf.default; so find the 'debug_options' section!) and then send me
> a diff.

ok so fare

but should have an aditional check because any other char !ALL should be
out here as well or not? bitch is certainly unacceptable :) the
debug_option are ints aren't they?

> You'll even get your name in lights. :)
>

that is obviously the thrill and most important :)

Michel
...

****************************************************
Datacenter Matik http://datacenter.matik.com.br
E-Mail e Data Hosting Service para Profissionais.
****************************************************
Received on Tue Jan 30 2007 - 21:00:20 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST