diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-05-24 16:48:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-20 19:35:12 +0900 |
commit | a58611dfb1bfc74fb1a51a9cd0ca8ac690c2f1f4 (patch) | |
tree | c168f6a4b56c0b159a573639fffcead139a28e28 /process.c | |
parent | 15db2e9496703d76b2d785a9e2a1554833706e06 (diff) | |
download | ruby-a58611dfb1bfc74fb1a51a9cd0ca8ac690c2f1f4.tar.gz |
Allow to just warn as bool expected, without an exception
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2210,7 +2210,7 @@ rb_execarg_addopt_rlimit(struct rb_execarg *eargp, int rtype, VALUE val) } #endif -#define TO_BOOL(val, name) NIL_P(val) ? 0 : rb_bool_expected((val), name) +#define TO_BOOL(val, name) (NIL_P(val) ? 0 : rb_bool_expected((val), name, TRUE)) int rb_execarg_addopt(VALUE execarg_obj, VALUE key, VALUE val) { |