Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 6 Dec 2002 23:38:01 +0000 (23:38 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 Dec 2002 23:38:01 +0000 (23:38 +0000)
* 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
include/signal.h
include/wctype.h
sysdeps/unix/sysv/linux/fexecve.c

index 8e69330..22ec501 100644 (file)
--- 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.
 
index 3d599ef..0b6aef6 100644 (file)
@@ -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);
index 9382f32..f52f0a3 100644 (file)
@@ -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)
index a90364e..50d2d77 100644 (file)
@@ -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;