summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-16 18:47:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-16 18:57:08 +0900
commite988048e2589b6f517c11430d568e2ccf118e901 (patch)
tree6f76d6ead24b73a31ee90f23ea921e3fa4def7b5 /internal.h
parent8deabcd3280f6042ea1ed14b629d70680e081fec (diff)
Moved the check for `exception` to rb_execarg_addopt
Check for `exception` option in rb_execarg_addopt, as well as other options. And then raise a particular ArgumentError if it is not allowed.
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 2f0a5afe80..b931c115df 100644
--- a/internal.h
+++ b/internal.h
@@ -1977,6 +1977,7 @@ struct rb_execarg {
unsigned uid_given : 1;
unsigned gid_given : 1;
unsigned exception : 1;
+ unsigned exception_given : 1;
struct waitpid_state *waitpid_state; /* for async process management */
rb_pid_t pgroup_pgid; /* asis(-1), new pgroup(0), specified pgroup (0<V). */
VALUE rlimit_limits; /* Qfalse or [[rtype, softlim, hardlim], ...] */