diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2024-11-29 11:41:49 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2024-11-29 12:38:20 +0900 |
| commit | f9d0bc22f5ca019f3c517b42ea4a50867fe56700 (patch) | |
| tree | 9104a1372a215402d502e5da08e471e1324bd1d1 /spec/ruby/core/kernel/binding_spec.rb | |
| parent | a32981b6b89c23c7b650c6b1d1309e86856735ff (diff) | |
Remove a useless check if fd is negative
If `slave` is negative, neither `dup2(slave,0)` or `close(slave)` should
be executed. I believe this check is completely useless.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12207
Diffstat (limited to 'spec/ruby/core/kernel/binding_spec.rb')
0 files changed, 0 insertions, 0 deletions
