ruby-changes:16948
From: usa <ko1@a...>
Date: Tue, 10 Aug 2010 11:29:22 +0900 (JST)
Subject: [ruby-changes:16948] Ruby:r28944 (trunk): * lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist.
usa 2010-08-10 11:29:04 +0900 (Tue, 10 Aug 2010) New Revision: 28944 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28944 Log: * lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist. Modified files: trunk/ChangeLog trunk/lib/un.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 28943) +++ ChangeLog (revision 28944) @@ -1,3 +1,7 @@ +Tue Aug 10 11:26:33 2010 NAKAMURA Usaku <usa@r...> + + * lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist. + Tue Aug 10 06:26:48 2010 Tanaka Akira <akr@f...> * ext/pathname/pathname.c (path_readlink): Pathname#readlink translated Index: lib/un.rb =================================================================== --- lib/un.rb (revision 28943) +++ lib/un.rb (revision 28944) @@ -317,9 +317,9 @@ s = WEBrick::HTTPServer.new(options) shut = proc {s.shutdown} Signal.trap("TERM", shut) - Signal.trap("QUIT", shut) + Signal.trap("QUIT", shut) if Signal.list.has_key?("QUIT") if STDIN.tty? - Signal.trap("HUP", shut) + Signal.trap("HUP", shut) if Signal.list.has_key?("HUP") Signal.trap("INT", shut) end s.start -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/