From 13ece8977b7c7ddc97f906a6a374816f254c50f2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Dec 2002 23:38:01 +0000 Subject: [PATCH] Update. * include/wctype.h: Define iswalnum with libc_hidden_proto. * include/signal.h: Define raise with libc_hidden_proto. * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and __execve instead of snprintf and execve. --- ChangeLog | 7 +++++++ include/signal.h | 1 + include/wctype.h | 2 ++ sysdeps/unix/sysv/linux/fexecve.c | 4 ++-- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e69330766..22ec5017fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2002-12-06 Ulrich Drepper + * include/wctype.h: Define iswalnum with libc_hidden_proto. + + * include/signal.h: Define raise with libc_hidden_proto. + + * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and + __execve instead of snprintf and execve. + * sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double again a bit. diff --git a/include/signal.h b/include/signal.h index 3d599ef19a..0b6aef6522 100644 --- a/include/signal.h +++ b/include/signal.h @@ -8,6 +8,7 @@ libc_hidden_proto (sigemptyset) libc_hidden_proto (sigfillset) libc_hidden_proto (sigismember) libc_hidden_proto (__sigpause) +libc_hidden_proto (raise) /* Now define the internal interfaces. */ extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler); diff --git a/include/wctype.h b/include/wctype.h index 9382f32ea8..f52f0a3f30 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -17,6 +17,7 @@ typedef unsigned int wint_t; these as macros and thus we couldn't add libc_hidden_proto. */ extern int iswalpha (wint_t __wc); +extern int iswalnum (wint_t __wc); extern int iswdigit (wint_t __wc); extern int iswlower (wint_t __wc); extern int iswspace (wint_t __wc); @@ -25,6 +26,7 @@ extern wint_t towlower (wint_t __wc); extern wint_t towupper (wint_t __wc); libc_hidden_proto (iswalpha) +libc_hidden_proto (iswalnum) libc_hidden_proto (iswdigit) libc_hidden_proto (iswlower) libc_hidden_proto (iswspace) diff --git a/sysdeps/unix/sysv/linux/fexecve.c b/sysdeps/unix/sysv/linux/fexecve.c index a90364eb49..50d2d779b8 100644 --- a/sysdeps/unix/sysv/linux/fexecve.c +++ b/sysdeps/unix/sysv/linux/fexecve.c @@ -40,10 +40,10 @@ fexecve (fd, argv, envp) /* We use the /proc filesystem to get the information. If it is not mounted we fail. */ char buf[sizeof "/proc/self/fd/" + sizeof (int) * 3]; - snprintf (buf, sizeof (buf), "/proc/self/fd/%d", fd); + __snprintf (buf, sizeof (buf), "/proc/self/fd/%d", fd); /* We do not need the return value. */ - execve (buf, argv, envp); + __execve (buf, argv, envp); int save = errno; -- 2.43.5