Project

General

Profile

Bug #10615

SIGKILL is not supported by signal() of some versions of MSVCRT

Added by usa (Usaku NAKAMURA) almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
-
[ruby-dev:48762]

Description

MSVCRTはSIGKILLをサポートしておらず(C標準外なので割と当たり前)、Rubyで自前サポートしているわけなのですが、にもかかわらずsignal()にはそのまんま渡しているため、一部のMSVCRT実装で問題が起きているようです。

Associated revisions

Revision 42496f2f
Added by usa (Usaku NAKAMURA) almost 5 years ago

  • signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(2). [Bug #10615]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 48884
Added by usa (Usaku NAKAMURA) almost 5 years ago

  • signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(2). [Bug #10615]

Revision 48884
Added by usa (Usaku NAKAMURA) almost 5 years ago

  • signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(2). [Bug #10615]

Revision 48884
Added by usa (Usaku NAKAMURA) almost 5 years ago

  • signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(2). [Bug #10615]

Revision 48884
Added by usa (Usaku NAKAMURA) almost 5 years ago

  • signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(2). [Bug #10615]

Revision 48884
Added by usa (Usaku NAKAMURA) almost 5 years ago

  • signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(2). [Bug #10615]

Revision 48884
Added by usa (Usaku NAKAMURA) almost 5 years ago

  • signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(2). [Bug #10615]

Revision ce65dfa3
Added by usa (Usaku NAKAMURA) almost 5 years ago

merge revision(s) 48884,48885: [Backport #10615]

    * signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
      should be treated before calling signal(2).
      [Bug #10615]
      should be treated before calling signal(3).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49247
Added by usa (Usaku NAKAMURA) almost 5 years ago

merge revision(s) 48884,48885: [Backport #10615]

* signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
  should be treated before calling signal(2).
  [Bug #10615]
  should be treated before calling signal(3).

Revision bdfd5fd1
Added by nagachika (Tomoyuki Chikanaga) almost 5 years ago

merge revision(s) r48884,r48885: [Backport #10615]

    * signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
      should be treated before calling signal(3).
      [Bug #10615]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 49370
Added by nagachika (Tomoyuki Chikanaga) almost 5 years ago

merge revision(s) r48884,r48885: [Backport #10615]

* signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
  should be treated before calling signal(3).
  [Bug #10615]

History

Updated by usa (Usaku NAKAMURA) almost 5 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r48884.


  • signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(2). [Bug #10615]

Updated by usa (Usaku NAKAMURA) almost 5 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: DONE, 2.1: REQUIRED

Backported r48884 and r48885 into ruby_2_0_0 at r49247.

Updated by nagachika (Tomoyuki Chikanaga) almost 5 years ago

  • Backport changed from 2.0.0: DONE, 2.1: REQUIRED to 2.0.0: DONE, 2.1: DONE

Backported into ruby_2_1 at r49370.

Also available in: Atom PDF