We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
More JRuby compatibility fixes.
Hongli Lai (Phusion) (author)
Sat Nov 22 03:25:25 -0800 2008
commit  a97f2d29044db5e50d1f25280c65d3d37b43a5f3
tree    502c242c13a62059c49c201ca06f0ff652babe16
parent  944ee138adfc56ab6205847fe68e79872f282242
...
320
321
322
323
 
324
325
326
...
320
321
322
 
323
324
325
326
0
@@ -320,7 +320,7 @@ private
0
       end
0
       STDERR.puts(output)
0
       STDERR.flush
0
- end
0
+ end if trappable_signals.has_key?('QUIT')
0
   end
0
   
0
   def revert_signal_handlers
...
21
22
23
24
25
26
27
...
293
294
295
296
 
297
298
299
...
21
22
23
 
24
25
26
...
292
293
294
 
295
296
297
298
0
@@ -21,7 +21,6 @@ require 'set'
0
 require 'timeout'
0
 require 'passenger/message_channel'
0
 require 'passenger/utils'
0
-require 'passenger/native_support'
0
 module Passenger
0
 
0
 # An abstract base class for a server, with the following properties:
0
@@ -293,7 +292,7 @@ private
0
   # Reset all signal handlers to default. This is called in the child process,
0
   # before entering the main loop.
0
   def reset_signal_handlers
0
- Signal.list.each_key do |signal|
0
+ Signal.list_trappable.each_key do |signal|
0
       begin
0
         @orig_signal_handlers[signal] = trap(signal, 'DEFAULT')
0
       rescue ArgumentError

Comments

    No one has commented yet.