On 2001-Jul-02 11:34:25 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> 130 #define strlen gdb_strlen
> 131 #define strcpy gdb_strcpy
>
>Is it really necessary to do this funny thing with the #defines? I
>mean, why not replace the calls with gdb_XXX() ourselves and be done
>with it?
Alternatively, given the XXX comment, why not delete the local copies
of str{cpy,len}() and just usr the library versions? The original
reason appears to be to avoid the possibility that str{cpy,len}() are
not re-entrant. The FreeBSD ones _are_ re-entrant and it doesn't seem
likely that we will re-write them not to be re-entrant.
Peter
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message