From d3d99893eeedbb681f6b9b76427c33129d69834d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 8 Nov 2000 21:20:06 +0000 Subject: Update. * catgets/gencat.c (main): Don't use exit() to avoid warnings with broken compilers. * include/features.h (__STDC_ISO_10646__): Correct value to be 200009L. Patch by Markus Kuhn . 2000-11-08 H.J. Lu * pwd/Versions (GLIBC_2.1.2): Add getpwnam_r. 2000-11-08 Jakub Jelinek * string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are defined, not _HAVE_STRING_ARCH_. * sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset, _USE_STRING_ARCH_strchr): Define. * sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset, _USE_STRING_ARCH_strchr): Define. * sysdeps/sparc/bits/string.h: New file. 2000-11-08 Bruno Haible * locale/C-translit.h.in: Tweak result. * locale/C-translit.h: Regenerated. 2000-11-08 Ulrich Drepper * posix/unistd.h: Add attribute((const)) to sysconf prototype. --- string/bits/string2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'string') diff --git a/string/bits/string2.h b/string/bits/string2.h index a85add7..2cff87b 100644 --- a/string/bits/string2.h +++ b/string/bits/string2.h @@ -698,7 +698,7 @@ __stpcpy_small (char *__dest, /* Copy no more than N characters of SRC to DEST. */ #ifndef _HAVE_STRING_ARCH_strncpy -# if defined _HAVE_STRING_ARCH_memset && defined _HAVE_STRING_ARCH_mempcpy +# if defined _USE_STRING_ARCH_memset && defined _USE_STRING_ARCH_mempcpy # define strncpy(dest, src, n) \ (__extension__ ({ char *__dest = (dest); \ __builtin_constant_p (src) && __builtin_constant_p (n) \ @@ -721,7 +721,7 @@ __stpcpy_small (char *__dest, /* Append no more than N characters from SRC onto DEST. */ #ifndef _HAVE_STRING_ARCH_strncat -# ifdef _HAVE_STRING_ARCH_strchr +# ifdef _USE_STRING_ARCH_strchr # define strncat(dest, src, n) \ (__extension__ ({ char *__dest = (dest); \ __builtin_constant_p (src) && __builtin_constant_p (n) \ -- cgit v1.1