In message <[EMAIL PROTECTED]>, Daniel Hemmerich writes
:
>Any comments, suggestions, swears concerning adding a new function,
>strndup(), to libc?
Well, the obvious potential concern is that str[a-z]* is reserved namespace,
and what if a future spec has a *different* strndup?
>So that instead of permitting it to attempt to allocate a large chunk of
>memory, it is possible to give it a max length.
Well, this one is clearly wrong, because if you have a string of max_len,
it isn't terminated.
-s
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message