mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Update usage of enum rb_io_mode
. (#13128)
This commit is contained in:
parent
3bfcb013c0
commit
6f6d07272e
Notes:
git
2025-04-18 02:38:10 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue