From 71aefcdabe5758e4e3123d91b7b975da5eb6c891 Mon Sep 17 00:00:00 2001 From: eban Date: Tue, 5 Oct 2004 09:13:49 +0000 Subject: * io.c (rb_io_flags_mode): typo fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index b5dddd114..5515718b2 100644 --- a/io.c +++ b/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 -- cgit