summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--include/signal.h1
-rw-r--r--include/wctype.h2
-rw-r--r--sysdeps/unix/sysv/linux/fexecve.c4
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  <drepper@redhat.com>
 
+	* 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;