* 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:
parent
278b63a3e4
commit
34bb79c031
@ -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>
|
Thu Apr 24 23:25:17 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* include/ruby/intern.h (rb_env_clear): declared.
|
* include/ruby/intern.h (rb_env_clear): declared.
|
||||||
|
@ -57,6 +57,8 @@ struct timeval rb_time_interval(VALUE);
|
|||||||
#undef HAVE_GETPGRP
|
#undef HAVE_GETPGRP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TIMES_H
|
#ifdef HAVE_SYS_TIMES_H
|
||||||
#include <sys/times.h>
|
#include <sys/times.h>
|
||||||
#endif
|
#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.
|
* Also, all non-standard unspecified descriptors can be closed by :close_others option.
|
||||||
* The "standard" descriptors are 0, 1 and 2.
|
* The "standard" descriptors are 0, 1 and 2.
|
||||||
* (Current implementation closes decriptors less than some constant, such as 256.)
|
|
||||||
*
|
*
|
||||||
* # more similar to IO.popen
|
* # more similar to IO.popen
|
||||||
* r, w = IO.pipe
|
* r, w = IO.pipe
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'tmpdir'
|
require 'tmpdir'
|
||||||
require 'require_relative'
|
|
||||||
require_relative 'envutil'
|
require_relative 'envutil'
|
||||||
|
|
||||||
class TestProcess < Test::Unit::TestCase
|
class TestProcess < Test::Unit::TestCase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user