From 61645263d4b3c72c9a33659a0fcabe1dd2814a98 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 22 Mar 2004 19:54:06 +0000 Subject: Update. 2004-03-22 Jakub Jelinek * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): Avoid warning about writing into read-only memory. * string/Makefile (routines): Add xpg-strerror. * string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU, redirect strerror_r to __xpg_strerror_r. * string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4. * sysdeps/generic/xpg-strerror.c: New file. * sysdeps/mach/xpg-strerror.c: New file. --- string/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'string/Makefile') diff --git a/string/Makefile b/string/Makefile index ad5ff79d4c..5ab487f5ba 100644 --- a/string/Makefile +++ b/string/Makefile @@ -39,7 +39,8 @@ routines := strcat strchr strcmp strcoll strcpy strcspn \ delete extract insert stringify \ addsep replace) \ envz basename \ - strcoll_l strxfrm_l string-inlines memrchr + strcoll_l strxfrm_l string-inlines memrchr \ + xpg-strerror # Gcc internally generates calls to unbounded memcpy and memset # for -fbounded-pointer compiles. Glibc uses memchr for explicit checks. -- cgit v1.2.3