mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00: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:
parent
01cec3edaa
commit
13ece8977b
@ -1,5 +1,12 @@
|
|||||||
2002-12-06 Ulrich Drepper <drepper@redhat.com>
|
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
|
* sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double
|
||||||
again a bit.
|
again a bit.
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ libc_hidden_proto (sigemptyset)
|
|||||||
libc_hidden_proto (sigfillset)
|
libc_hidden_proto (sigfillset)
|
||||||
libc_hidden_proto (sigismember)
|
libc_hidden_proto (sigismember)
|
||||||
libc_hidden_proto (__sigpause)
|
libc_hidden_proto (__sigpause)
|
||||||
|
libc_hidden_proto (raise)
|
||||||
|
|
||||||
/* Now define the internal interfaces. */
|
/* Now define the internal interfaces. */
|
||||||
extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
|
extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
|
||||||
|
@ -17,6 +17,7 @@ typedef unsigned int wint_t;
|
|||||||
these as macros and thus we couldn't add libc_hidden_proto. */
|
these as macros and thus we couldn't add libc_hidden_proto. */
|
||||||
|
|
||||||
extern int iswalpha (wint_t __wc);
|
extern int iswalpha (wint_t __wc);
|
||||||
|
extern int iswalnum (wint_t __wc);
|
||||||
extern int iswdigit (wint_t __wc);
|
extern int iswdigit (wint_t __wc);
|
||||||
extern int iswlower (wint_t __wc);
|
extern int iswlower (wint_t __wc);
|
||||||
extern int iswspace (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);
|
extern wint_t towupper (wint_t __wc);
|
||||||
|
|
||||||
libc_hidden_proto (iswalpha)
|
libc_hidden_proto (iswalpha)
|
||||||
|
libc_hidden_proto (iswalnum)
|
||||||
libc_hidden_proto (iswdigit)
|
libc_hidden_proto (iswdigit)
|
||||||
libc_hidden_proto (iswlower)
|
libc_hidden_proto (iswlower)
|
||||||
libc_hidden_proto (iswspace)
|
libc_hidden_proto (iswspace)
|
||||||
|
@ -40,10 +40,10 @@ fexecve (fd, argv, envp)
|
|||||||
/* We use the /proc filesystem to get the information. If it is not
|
/* We use the /proc filesystem to get the information. If it is not
|
||||||
mounted we fail. */
|
mounted we fail. */
|
||||||
char buf[sizeof "/proc/self/fd/" + sizeof (int) * 3];
|
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. */
|
/* We do not need the return value. */
|
||||||
execve (buf, argv, envp);
|
__execve (buf, argv, envp);
|
||||||
|
|
||||||
int save = errno;
|
int save = errno;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user