Call strnlen() when determining the
authordrepper <drepper>
Sat, 7 Jul 2001 22:52:21 +0000 (22:52 +0000)
committerdrepper <drepper>
Sat, 7 Jul 2001 22:52:21 +0000 (22:52 +0000)
commit0a0ce800217b40a28e3b2d92b485dbd63b5a384c
tree71fc05886f755d3d00d5460ee817f5d16435d8de
parent1be13704558d069c023080064e579c55679b3197
Call strnlen() when determining the
string length rather than strlen(). Solves the performance problem
of doing strlen on a 5MB string when strncpy was called with a
length argument of 5 bytes.
sysdeps/ia64/strncpy.S