William A. Rowe, Jr. wrote:

From: "Brian Pane" <[EMAIL PROTECTED]>
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.


How about apr_pstrduptrunc()?

--Brian






Reply via email to