Re: tools.c -> strwordtok() and '\' character

From: Evgeny Kotsuba <evgen__k@dont-contact.us>
Date: Fri, 08 Aug 2003 03:10:09 +0400

On Fri, 8 Aug 2003 00:30:16 +0200
  Henrik Nordstrom <hno@squid-cache.org> wrote:
>On Friday 08 August 2003 00.18, Henrik Nordstrom wrote:
>
>> In future strwordtok may support additional \ escapes as needed.
>> Today only \\ and \" are in use.
>
>\<space> and a few other are also in use..
>
Hmmm....
It seems that strwordtok is used in a few places(via
parse_wordlist()), one is in \Squid2.5s1\auth_basic.c->
authBasicParse() and is used for
parsing config string
# auth_param basic program /bin/ncsa_auth /etc/passwd

I have no idea how it is possible implement something exept \\ and \"
at this place.
I can use backslashes for all other directories and pathes exept this
"auth_param basic program "
May be it is worth to use pure strtok in authBasicParse() ?

SY,
Evgeny Kotsuba
Received on Thu Aug 07 2003 - 17:16:32 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:27 MST