diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-05 11:30:35 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-05 11:30:35 +0000 |
commit | 01acf1870403c8b925d06a0c188e52f1aedada03 (patch) | |
tree | 8dec2a7f2f2d974099c04d4cfc946806e4130989 /process.c | |
parent | debeb7db7734b86ce75648ac99d144ff953ad189 (diff) | |
download | ruby-01acf1870403c8b925d06a0c188e52f1aedada03.tar.gz |
* include/ruby/io.h (rb_io_modestr_fmode): renamed from
rb_io_mode_flags.
(rb_io_modestr_oflags): renamed from rb_io_mode_modenum.
(rb_io_oflags_fmode): renamed from rb_io_modenum_flags.
(rb_io_mode_flags): defined as a macro.
(rb_io_modenum_flags): ditto.
* io.c: follow the renaming with consistency.
* process.c (check_exec_redirect): call rb_io_modestr_oflags.
* ext/pty/depend: pty.o depends on io.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1321,7 +1321,7 @@ check_exec_redirect(VALUE key, VALUE val, VALUE options) if (NIL_P(flags)) flags = INT2NUM(O_RDONLY); else if (TYPE(flags) == T_STRING) - flags = INT2NUM(rb_io_mode_modenum(StringValueCStr(flags))); + flags = INT2NUM(rb_io_modestr_oflags(StringValueCStr(flags))); else flags = rb_to_int(flags); perm = rb_ary_entry(val, 2); |