mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix __waitpid_nocancel link error.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2014-05-16 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
|
||||||
|
Use wait4 regardless of [__NR_waitpid].
|
||||||
|
|
||||||
2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
|
2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
PR libgcc/60166
|
PR libgcc/60166
|
||||||
|
@ -83,13 +83,8 @@ extern int __openat64_nocancel (int fd, const char *fname, int oflag,
|
|||||||
__fcntl_nocancel (fd, cmd, val)
|
__fcntl_nocancel (fd, cmd, val)
|
||||||
|
|
||||||
/* Uncancelable waitpid. */
|
/* Uncancelable waitpid. */
|
||||||
#ifdef __NR_waitpid
|
#define waitpid_not_cancel(pid, stat_loc, options) \
|
||||||
# define waitpid_not_cancel(pid, stat_loc, options) \
|
|
||||||
__waitpid_nocancel (pid, stat_loc, options)
|
|
||||||
#else
|
|
||||||
# define waitpid_not_cancel(pid, stat_loc, options) \
|
|
||||||
INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL)
|
INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL)
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Uncancelable pause. */
|
/* Uncancelable pause. */
|
||||||
#define pause_not_cancel() \
|
#define pause_not_cancel() \
|
||||||
|
Reference in New Issue
Block a user