Apache has a couple of modules* which call strtok(), breaking thread
safety on most platforms.  I'd prefer to suck in FreeBSD's strtok.c,
rename strtok_r() to apr_strtok(), and remove the cruft.

APR already has the cool apr_tokenize_to_argv(), but that has much
more expensive semantics.  If strtok[_r] will do the job, then it is
preferable.

Any concerns?

*mod_mime_magic and mod_proxy
-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to