diff options
author | S-H-GAMELINKS <[email protected]> | 2022-01-15 23:07:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-01-17 13:49:37 +0900 |
commit | 804a71497187556f9fbbb66dfa602c5942224786 (patch) | |
tree | 7e0c79d3f1c328fc4cb82bf2951074158f196f7a /process.c | |
parent | 3515867381e34a04f2d64086ac283cd9536a8b20 (diff) |
Replace to RBOOL macro
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5449
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -6723,12 +6723,7 @@ p_sys_setresgid(VALUE obj, VALUE rid, VALUE eid, VALUE sid) static VALUE p_sys_issetugid(VALUE obj) { - if (issetugid()) { - return Qtrue; - } - else { - return Qfalse; - } + return RBOOL(issetugid()); } #else #define p_sys_issetugid rb_f_notimplement |