1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
* 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.
This commit is contained in:
Ulrich Drepper
2002-12-06 23:38:01 +00:00
parent 01cec3edaa
commit 13ece8977b
4 changed files with 12 additions and 2 deletions

View 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;