summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-24 15:16:38 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-24 15:16:38 +0000
commit34bb79c031e886cf6a3bf11060195918b93401e4 (patch)
treedcd3747f0d9f551d2300b9a27b5c73ee04f6dbf0 /process.c
parent278b63a3e459993c44aa0515239970fde517642a (diff)
* 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
Diffstat (limited to 'process.c')
-rw-r--r--process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/process.c b/process.c
index 5a1a3fc5d1..69fecefba9 100644
--- a/process.c
+++ b/process.c
@@ -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