httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: cvs commit: apache-1.3/src CHANGES
Date Sat, 14 Mar 1998 11:53:43 GMT
dgaudet@hyperreal.org wrote:
>   +  *) API: Clarification, pstrndup() will always copy n bytes of the source
>   +     and NUL terminate at the (n+1)st byte.  [Dean Gaudet]
>   +

Doesn't this mean that in a large number of cases pstrndup will copy
vastly more than it needs to (with performance hit akin to strncpy)?

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message