1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* process.c: include sys/stat.h for umask.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-04-24 15:16:38 +00:00
parent 278b63a3e4
commit 34bb79c031
3 changed files with 6 additions and 2 deletions

View file

@ -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.

View file

@ -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

View file

@ -1,6 +1,5 @@
require 'test/unit'
require 'tmpdir'
require 'require_relative'
require_relative 'envutil'
class TestProcess < Test::Unit::TestCase