diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | process.c | 3 | ||||
-rw-r--r-- | test/ruby/test_process.rb | 1 |
3 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Fri Apr 25 00:16:11 2008 Tanaka Akira <akr@fsij.org> + + * process.c: include sys/stat.h for umask. + Thu Apr 24 23:25:17 2008 Tanaka Akira <akr@fsij.org> * include/ruby/intern.h (rb_env_clear): declared. @@ -57,6 +57,8 @@ struct timeval rb_time_interval(VALUE); #undef HAVE_GETPGRP #endif +#include <sys/stat.h> + #ifdef HAVE_SYS_TIMES_H #include <sys/times.h> #endif @@ -2733,7 +2735,6 @@ rb_f_system(int argc, VALUE *argv) * * Also, all non-standard unspecified descriptors can be closed by :close_others option. * The "standard" descriptors are 0, 1 and 2. - * (Current implementation closes decriptors less than some constant, such as 256.) * * # more similar to IO.popen * r, w = IO.pipe diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 5213730a2b..4f0f2f00b5 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1,6 +1,5 @@ require 'test/unit' require 'tmpdir' -require 'require_relative' require_relative 'envutil' class TestProcess < Test::Unit::TestCase |