mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user