* 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
2
io.c
2
io.c
@ -2288,7 +2288,7 @@ rb_io_flags_mode(flags)
|
|||||||
int flags;
|
int flags;
|
||||||
{
|
{
|
||||||
#ifdef O_BINARY
|
#ifdef O_BINARY
|
||||||
# define MODE_BINMODE(a,b) ((mode & O_BINARY) ? (a) : (b))
|
# define MODE_BINMODE(a,b) ((flags & O_BINARY) ? (a) : (b))
|
||||||
#else
|
#else
|
||||||
# define MODE_BINMODE(a,b) (a)
|
# define MODE_BINMODE(a,b) (a)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user