mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* io.c (rb_io_flags_mode): typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ef8cfca7f9
commit
3d17082a50
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -2288,7 +2288,7 @@ rb_io_flags_mode(flags)
|
|||
int flags;
|
||||
{
|
||||
#ifdef O_BINARY
|
||||
# define MODE_BINMODE(a,b) ((mode & O_BINARY) ? (a) : (b))
|
||||
# define MODE_BINMODE(a,b) ((flags & O_BINARY) ? (a) : (b))
|
||||
#else
|
||||
# define MODE_BINMODE(a,b) (a)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue