aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/fexecve.c
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 /sysdeps/unix/sysv/linux/fexecve.c
parent01cec3edaa628d855d8b56b750b36035127ee681 (diff)
downloadglibc-13ece8977b7c7ddc97f906a6a374816f254c50f2.zip
glibc-13ece8977b7c7ddc97f906a6a374816f254c50f2.tar.gz
glibc-13ece8977b7c7ddc97f906a6a374816f254c50f2.tar.bz2
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/fexecve.c')
-rw-r--r--sysdeps/unix/sysv/linux/fexecve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/fexecve.c b/sysdeps/unix/sysv/linux/fexecve.c
index a90364e..50d2d77 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;