summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-11-29 11:41:49 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-11-29 12:38:20 +0900
commitf9d0bc22f5ca019f3c517b42ea4a50867fe56700 (patch)
tree9104a1372a215402d502e5da08e471e1324bd1d1 /spec/ruby/core/array
parenta32981b6b89c23c7b650c6b1d1309e86856735ff (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/array')
0 files changed, 0 insertions, 0 deletions