* io.c (rb_io_modenum_mode): typo fix again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fbb88b011a
commit
9a2c853b97
2
io.c
2
io.c
@ -2425,7 +2425,7 @@ rb_io_modenum_mode(flags)
|
|||||||
int flags;
|
int flags;
|
||||||
{
|
{
|
||||||
#ifdef O_BINARY
|
#ifdef O_BINARY
|
||||||
# define MODE_BINARY(a,b) ((mode & O_BINARY) ? (a) : (b))
|
# define MODE_BINARY(a,b) ((flags & O_BINARY) ? (a) : (b))
|
||||||
#else
|
#else
|
||||||
# define MODE_BINARY(a,b) (a)
|
# define MODE_BINARY(a,b) (a)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user