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 !
Fix source compatibility with Ruby 1.8.7.
Hongli Lai (Phusion) (author)
Thu Dec 04 16:59:45 -0800 2008
commit  57860807dcb8027e1a9fde89bea4ff89fabe7250
tree    2265736378be346301f38d220a9f82bbfab5ad05
parent  c9f9a9e50ef466f8d1b06a03f1539d22baf72ca8
...
242
243
244
245
 
246
247
248
...
242
243
244
 
245
246
247
248
0
@@ -242,7 +242,7 @@ close_all_file_descriptors(VALUE self, VALUE exceptions) {
0
   
0
   for (i = sysconf(_SC_OPEN_MAX) - 1; i >= 0; i--) {
0
     int is_exception = 0;
0
- for (j = 0; j < RARRAY(exceptions)->len && !is_exception; j++) {
0
+ for (j = 0; j < RARRAY_LEN(exceptions) && !is_exception; j++) {
0
       long fd = NUM2INT(rb_ary_entry(exceptions, j));
0
       is_exception = i == fd;
0
     }

Comments

    No one has commented yet.