apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: apr_strtok() anyone?
Date Wed, 23 May 2001 00:27:30 GMT
Greg Stein wrote:

> On Tue, May 22, 2001 at 07:28:30AM -0400, Jeff Trawick wrote:
> > 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

If it will help with stability in mod_proxy I say go for it.

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Mime
View raw message