From 345ecf3711998c8792c075e5d1093ca6a872474c Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 23 Jun 2012 11:35:32 +0000 Subject: * internal.h (rb_execarg): add fd_dup2, fd_close, fd_open, fd_dup2_child fields. * process.c (EXEC_OPTION_DUP2): removed. (EXEC_OPTION_CLOSE): removed. (EXEC_OPTION_OPEN): removed. (EXEC_OPTION_DUP2_CHILD): removed. (mark_exec_arg): mark the new fields. (check_exec_redirect1): change condition for default option. (check_exec_redirect): take a struct rb_execarg argument. use the new fields. (rb_execarg_addopt): follow the check_exec_redirect change. (check_exec_fds): use the new fields. (save_redirect_fd): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index ea0846c8f1..674525daf0 100644 --- a/internal.h +++ b/internal.h @@ -186,6 +186,10 @@ struct rb_execarg { pid_t pgroup_pgid; /* asis(-1), new pgroup(0), specified pgroup (0