* process.c: Fix a typo. MacOS X don't have ENOTSUPP.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-10-15 08:48:33 +00:00
Родитель 4a01df4a04
Коммит c2bbe4b01e
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Tue Oct 15 17:47:59 2013 Tanaka Akira <akr@fsij.org>
* process.c: Fix a typo. MacOS X don't have ENOTSUPP.
Mon Oct 14 12:32:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (process_options): load statically linked extensions before

Просмотреть файл

@ -1081,7 +1081,7 @@ before_exec_non_async_signal_safe(void)
{
if (!forked_child) {
/*
* On Mac OS X 10.5.x (Leopard) or earlier, exec() may return ENOTSUPP
* On Mac OS X 10.5.x (Leopard) or earlier, exec() may return ENOTSUP
* if the process have multiple threads. Therefore we have to kill
* internal threads temporary. [ruby-core:10583]
* This is also true on Haiku. It returns Errno::EPERM against exec()