diff options
author | NARUSE, Yui <naruse@airemix.jp> | 2023-03-09 09:35:39 +0900 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2023-03-09 09:35:39 +0900 |
commit | db28f7003f7d49cfa13871c38d10c1967282ca6b (patch) | |
tree | 1822bb2fb3013a09f30d134f66688200730ba1cc /version.h | |
parent | 4e4a4e42b284d9309a7e51c97058093539e7a843 (diff) |
merge revision(s) 3b567eb491e460e00a66fdea8054eeb083b5dafd: [Backport #19459]
[Bug #19459] Remove unnecessary always-true checks (#7362)
`length` is a required argument for `IO::Buffer#read` and
`IO::Buffer#write` methods, and `argc` is already checked with
`rb_check_arity`. Also fix the call-seq of `IO::Buffer#read`.
---
io_buffer.c | 24 +++++++-----------------
1 file changed, 7 insertions(+), 17 deletions(-)
Diffstat (limited to 'version.h')
-rw-r--r-- | version.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 1 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 38 +#define RUBY_PATCHLEVEL 39 #include "ruby/version.h" #include "ruby/internal/abi.h" |