diff options
author | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2021-01-06 12:20:03 -0500 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2021-01-19 12:06:45 -0800 |
commit | 9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e (patch) | |
tree | 4c0a885269e1b6332027527fbbb9689ba045c256 /signal.c | |
parent | a8dc5156e183489c5121fb1759bda5d9406d9175 (diff) |
Replace "iff" with "if and only if"
iff means if and only if, but readers without that knowledge might
assume this to be a spelling mistake. To me, this seems like
exclusionary language that is unnecessary. Simply using "if and only if"
instead should suffice.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4035
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -723,7 +723,7 @@ sighandler(int sig) rb_vm_t *vm = GET_VM(); ATOMIC_EXCHANGE(sigchld_hit, 1); - /* avoid spurious wakeup in main thread iff nobody uses trap(:CHLD) */ + /* avoid spurious wakeup in main thread if and only if nobody uses trap(:CHLD) */ if (vm && ACCESS_ONCE(VALUE, vm->trap_list.cmd[sig])) { signal_enque(sig); } |