libc/sysdeps/ia64 strncpy.S

drepper@sourceware.cygnus.com drepper@sourceware.cygnus.com
Sat Jul 7 15:52:00 GMT 2001


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper@sources.redhat.com	2001-07-07 15:52:21

Modified files:
	sysdeps/ia64   : strncpy.S 

Log message:
	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.



More information about the Glibc-cvs mailing list