mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
signal.c: adjust style
* signal.c (rb_sigaltstack_size, ruby_abort): adjust style, procnames-start-lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5397a25634
commit
e4ef4ddd56
1 changed files with 4 additions and 2 deletions
6
signal.c
6
signal.c
|
@ -465,7 +465,8 @@ typedef RETSIGTYPE ruby_sigaction_t(int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_SIGALTSTACK
|
#ifdef USE_SIGALTSTACK
|
||||||
int rb_sigaltstack_size(void)
|
int
|
||||||
|
rb_sigaltstack_size(void)
|
||||||
{
|
{
|
||||||
/* XXX: BSD_vfprintf() uses >1500KiB stack and x86-64 need >5KiB stack. */
|
/* XXX: BSD_vfprintf() uses >1500KiB stack and x86-64 need >5KiB stack. */
|
||||||
int size = 8192;
|
int size = 8192;
|
||||||
|
@ -657,7 +658,8 @@ sigbus(int sig SIGINFO_ARG)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SIGSEGV
|
#ifdef SIGSEGV
|
||||||
static void ruby_abort(void)
|
static void
|
||||||
|
ruby_abort(void)
|
||||||
{
|
{
|
||||||
#ifdef __sun
|
#ifdef __sun
|
||||||
/* Solaris's abort() is async signal unsafe. Of course, it is not
|
/* Solaris's abort() is async signal unsafe. Of course, it is not
|
||||||
|
|
Loading…
Reference in a new issue