diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-15 10:21:01 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-15 10:21:01 +0000 |
commit | 5a4c8a1ad7c3e700001714db6952e215cd4df06b (patch) | |
tree | 2cab673249b30f9afa2951687b5c7506ebc71f34 | |
parent | 639c3a8962c7d859441dc35fabff6a432fcd02fe (diff) | |
download | ruby-5a4c8a1ad7c3e700001714db6952e215cd4df06b.tar.gz |
* io.c: #undef rb_argv moved before #define.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Tue Apr 15 19:20:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * io.c: #undef rb_argv moved before #define. + Tue Apr 15 18:02:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * include/ruby/intern.h (rb_argv): replaced with rb_get_argv(). @@ -5037,6 +5037,7 @@ argf_alloc(VALUE klass) return argf; } +#undef rb_argv #define filename ARGF.filename #define current_file ARGF.current_file #define gets_lineno ARGF.gets_lineno @@ -7244,8 +7245,6 @@ rb_get_argv(void) return rb_argv; } -#undef rb_argv - /* * Class <code>IO</code> is the basis for all input and output in Ruby. * An I/O stream may be <em>duplexed</em> (that is, bidirectional), and |