diff options
author | nagachika <[email protected]> | 2022-03-12 16:30:52 +0900 |
---|---|---|
committer | nagachika <[email protected]> | 2022-03-12 16:30:52 +0900 |
commit | 7c0537906314f0c2a317b37661ccdec8dddc6277 (patch) | |
tree | 998fa4138b4767d90bdd5af798be696089182c3c /random.c | |
parent | f2d996dcff56057b48ae41ab6f23e7654848ea4b (diff) |
merge revision(s) fdf39963490cf2cf95b30d91bb9b35964c2c2350: [Backport #18421]
Empty and return the buffer if zero size is given [Bug #18421]
In `IO#readpartial` and `IO#read_nonblock`, as well as `IO#read`.
---
io.c | 8 ++++++--
test/ruby/test_io.rb | 21 +++++++++++++++++++++
2 files changed, 27 insertions(+), 2 deletions(-)
Diffstat (limited to 'random.c')
0 files changed, 0 insertions, 0 deletions