diff options
author | Samuel Williams <[email protected]> | 2025-04-18 11:37:55 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2025-04-18 02:37:55 +0000 |
commit | 6f6d07272e76682029112c4ceb6eb6b811ee8d6f (patch) | |
tree | 182ff2ddd9fc088dfe472448af507636d9cca129 /io.c | |
parent | 3bfcb013c0e5eb45feba15d879850dc09e4bb388 (diff) |
Update usage of `enum rb_io_mode`. (#13128)
Notes
Notes:
Merged-By: ioquatix <[email protected]>
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12329,8 +12329,8 @@ rb_io_s_binread(int argc, VALUE *argv, VALUE io) { VALUE offset; struct foreach_arg arg; + enum rb_io_mode fmode = FMODE_READABLE|FMODE_BINMODE; enum { - fmode = FMODE_READABLE|FMODE_BINMODE, oflags = O_RDONLY #ifdef O_BINARY |O_BINARY |