ruby-changes:4691
From: ko1@a...
Date: Fri, 25 Apr 2008 00:17:02 +0900 (JST)
Subject: [ruby-changes:4691] akr - Ruby:r16185 (trunk): * process.c: include sys/stat.h for umask.
akr 2008-04-25 00:16:38 +0900 (Fri, 25 Apr 2008)
New Revision: 16185
Modified files:
trunk/ChangeLog
trunk/process.c
trunk/test/ruby/test_process.rb
Log:
* process.c: include sys/stat.h for umask.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_process.rb?r1=16185&r2=16184&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16185&r2=16184&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/process.c?r1=16185&r2=16184&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16184)
+++ ChangeLog (revision 16185)
@@ -1,3 +1,7 @@
+Fri Apr 25 00:16:11 2008 Tanaka Akira <akr@f...>
+
+ * process.c: include sys/stat.h for umask.
+
Thu Apr 24 23:25:17 2008 Tanaka Akira <akr@f...>
* include/ruby/intern.h (rb_env_clear): declared.
Index: process.c
===================================================================
--- process.c (revision 16184)
+++ process.c (revision 16185)
@@ -57,6 +57,8 @@
#undef HAVE_GETPGRP
#endif
+#include <sys/stat.h>
+
#ifdef HAVE_SYS_TIMES_H
#include <sys/times.h>
#endif
@@ -2733,7 +2735,6 @@
*
* 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
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb (revision 16184)
+++ test/ruby/test_process.rb (revision 16185)
@@ -1,6 +1,5 @@
require 'test/unit'
require 'tmpdir'
-require 'require_relative'
require_relative 'envutil'
class TestProcess < Test::Unit::TestCase
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/