Hi,

At 00.41 26/01/2005, Evgeny Kotsuba wrote:

On Wed, 26 Jan 2005 00:08:47 +0100 (CET)
 Henrik Nordstrom <[EMAIL PROTECTED]> wrote:
On Wed, 26 Jan 2005, Evgeny Kotsuba wrote:

What is the reason for last changes in strwordtok() (tools.c /tools.cc) ?
To support the external_acl protocol in a more robust manner.

I.e is it now
* Similar to strtok, but has some rudimentary knowledge  of quoting
or it makes something more ?

This changes with case '\\': boke possibilitiy to put in config paths with backslashes i.e.. native form of paths for OS/2 and Windows. The worse thing is that it is with paths like C:\Squid\auth\ncsa_auth.exe or C:\Squid\redirect.exe but not mention anywere in config and/or docs
How often '\n' and '\r' are used in config ?
On windows you can use / instead of \. Not sure aboout OS/2.

"can use" is the source or bugs etc. No one exepts aliens and robots can take in mind what he/she can use and what can't

On Windows really this is not a problem:
- The Microsoft CRT supports "/" char instead "\" for unix code portability
- Windows specific release notes speaks about paths format limitations
- In squid.conf.default and squid.exe distributed with binaries all predefined paths use "/"
- MinGW and Cygwin environments don't like at all paths with "\".


In the last two year I can remember one or two Windows support request about.

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Gorizia, 69             10136 - Torino - ITALY
Tel. : +39.011.3249426      Fax. : +39.011.3293665
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/



Reply via email to