signal.c: do not disable handlers to dump core
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9abe121c9f
commit
1b6e7a3de2
1
signal.c
1
signal.c
@ -1390,7 +1390,6 @@ sig_list(void)
|
|||||||
static const char failed[] = "failed to install "signame" handler"; \
|
static const char failed[] = "failed to install "signame" handler"; \
|
||||||
if (!(cond)) break; \
|
if (!(cond)) break; \
|
||||||
if (reserved_signal_p(signum)) rb_bug(failed); \
|
if (reserved_signal_p(signum)) rb_bug(failed); \
|
||||||
ruby_enable_coredump = 1; \
|
|
||||||
perror(failed); \
|
perror(failed); \
|
||||||
} while (0)
|
} while (0)
|
||||||
static int
|
static int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user