1
0
Fork 0
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:
eban 2004-10-05 09:13:49 +00:00
parent ef8cfca7f9
commit 3d17082a50

2
io.c
View file

@ -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