This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/string/bits string2.h
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 26 May 2004 17:27:10 -0000
- Subject: libc/string/bits string2.h
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2004-05-26 17:27:10
Modified files:
string/bits : string2.h
Log message:
(memset): Disable macro for GCC 3.0+.
(__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
(strchr): For GCC 3.2+, only use __rawmemchr if second argument is
constant '\0' and first argument is not constant.
(__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
(strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
For GCC 3.2+ use __builtin_strncpy.
(strncat): For GCC 3.2+ use __builtin_strncat.
(strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are constant.
(strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
if both arguments are constant.