This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps/ia64 strncpy.S
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/sysdeps/ia64 strncpy.S
- From: drepper at sourceware dot cygnus dot com
- Date: 7 Jul 2001 22:52:21 -0000
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.