diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-06 15:44:02 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-06 15:44:02 +0000 |
| commit | 26779979350c5daadea77bb336f32af67725d84b (patch) | |
| tree | 6150217f381b0c0f79ccde24ef2944341b8a3ab9 | |
| parent | e3ba92ecbef87eaf8034afbf565c992247a16a17 (diff) | |
| download | ruby-26779979350c5daadea77bb336f32af67725d84b.tar.gz ruby-26779979350c5daadea77bb336f32af67725d84b.tar.xz ruby-26779979350c5daadea77bb336f32af67725d84b.zip | |
* io.c (rb_io_flags_mode): typo fix.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2290,7 +2290,7 @@ rb_io_modenum_mode(flags) int flags; { #ifdef O_BINARY -# define MODE_BINARY(a,b) ((mode & O_BINARY) ? (a) : (b)) +# define MODE_BINARY(a,b) ((flags & O_BINARY) ? (a) : (b)) #else # define MODE_BINARY(a,b) (a) #endif |
