зеркало из https://github.com/github/ruby.git
* signal.c (rb_sigaltstack_size): cast sysconf() return value
explicitly. Fix compile error on Mac OS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
54619f8d1e
Коммит
44b4b9060d
|
@ -1,3 +1,8 @@
|
|||
Sun Dec 16 02:04:41 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* signal.c (rb_sigaltstack_size): cast sysconf() return value
|
||||
explicitly. Fix compile error on Mac OS X.
|
||||
|
||||
Sun Dec 16 00:39:43 2012 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
|
||||
|
||||
* cont.c (rb_fiber_start): don't enqueue Qnil to async_errinfo_queue.
|
||||
|
|
2
signal.c
2
signal.c
|
@ -459,7 +459,7 @@ int rb_sigaltstack_size(void)
|
|||
#if defined(HAVE_SYSCONF) && defined(_SC_PAGE_SIZE)
|
||||
{
|
||||
int pagesize;
|
||||
pagesize = sysconf(_SC_PAGE_SIZE);
|
||||
pagesize = (int)sysconf(_SC_PAGE_SIZE);
|
||||
if (size < pagesize)
|
||||
size = pagesize;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче