apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: apr_date_parse_rfc segv
Date Fri, 24 May 2002 12:34:30 GMT
Cliff Woolley <jwoolley@virginia.edu> writes:

> Unfortunately we can't just pstrdup because we have no pool to dup into.
> We could copy into a buffer on the stack.......
> 
> Again, this only affects already-ugly formats, so I see little problem
> with adding a copy penalty to *those* formats, as long as it can be done
> without impacting the performance of the other, more heavily-used formats
> in a horrendous way.

+1

The API needs to be changed to use const char * if at all possible.
This isn't the first time this has come up.
-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message