[ruby-cvs:54808] nobu:r47660 (trunk): signal.c: raise SystemCallError for all failures

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Sep 21 11:42:42 JST 2014


nobu	2014-09-21 11:42:40 +0900 (Sun, 21 Sep 2014)

  New Revision: 47660

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47660

  Log:
    signal.c: raise SystemCallError for all failures
    
    * signal.c (ruby_signal): return SIG_ERR as well as signal(2).
    
    * signal.c (trap): raise SystemCallError for all failures when
      called as a method.
    
    * signal.c (Init_signal): fail by [BUG] only if initialization is
      failed.

  Modified files:
    trunk/signal.c


More information about the ruby-cvs mailing list