apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: [PATCH] a faster alternative to apr_pstrndup
Date Sun, 02 Dec 2001 06:57:18 GMT
From: "Brian Pane" <bpane@pacbell.net>
Sent: Sunday, December 02, 2001 12:36 AM

> This patch adds a function apr_pstrdupn(), which works like
> apr_pstrndup() except that it's optimized for the case where
> the caller can guarantee that the length of the supplied string
> is >= 'n'

Right idea - Thanks to you and Doug!  However, can we please choose a
less ambigious name such as apr_pstrtrunc() (Truncation?)  I'm flexible
with any other ideas as well, as long as we aren't one char from a bug.


View raw message