mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Revert "hijack SIGCHLD handler for internal use"
This reverts commit 054a412d54
.
SIGCHLD `waidpid`, `waitpid_lock` and related code, have been removed
at ruby/ruby#7527.
This commit is contained in:
parent
cfd48adb2f
commit
3ac6a03b2e
4 changed files with 18 additions and 24 deletions
18
signal.c
18
signal.c
|
@ -1548,21 +1548,3 @@ Init_signal(void)
|
|||
|
||||
rb_enable_interrupt();
|
||||
}
|
||||
|
||||
#if defined(HAVE_GRANTPT)
|
||||
extern int grantpt(int);
|
||||
#else
|
||||
static int
|
||||
fake_grantfd(int masterfd)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
}
|
||||
#define grantpt(fd) fake_grantfd(fd)
|
||||
#endif
|
||||
|
||||
int
|
||||
rb_grantpt(int masterfd)
|
||||
{
|
||||
return grantpt(masterfd);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue