apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject apr_strtok() anyone?
Date Tue, 22 May 2001 11:28:30 GMT
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

Any concerns?

*mod_mime_magic and mod_proxy
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
             Born in Roswell... married an alien...

View raw message