aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-06 23:38:01 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-06 23:38:01 +0000
commit13ece8977b7c7ddc97f906a6a374816f254c50f2 (patch)
tree82a01b6177fc419e40097166469cab3e90acf05a
parent01cec3edaa628d855d8b56b750b36035127ee681 (diff)
downloadglibc-13ece8977b7c7ddc97f906a6a374816f254c50f2.tar
glibc-13ece8977b7c7ddc97f906a6a374816f254c50f2.tar.gz
glibc-13ece8977b7c7ddc97f906a6a374816f254c50f2.tar.bz2
glibc-13ece8977b7c7ddc97f906a6a374816f254c50f2.zip
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.
-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;