ruby-changes:4547
From: ko1@a...
Date: Tue, 15 Apr 2008 19:21:18 +0900 (JST)
Subject: [ruby-changes:4547] matz - Ruby:r16040 (trunk): * io.c: #undef rb_argv moved before #define.
matz 2008-04-15 19:21:01 +0900 (Tue, 15 Apr 2008)
New Revision: 16040
Modified files:
trunk/ChangeLog
trunk/io.c
Log:
* io.c: #undef rb_argv moved before #define.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16040&r2=16039&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=16040&r2=16039&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16039)
+++ ChangeLog (revision 16040)
@@ -1,3 +1,7 @@
+Tue Apr 15 19:20:14 2008 Yukihiro Matsumoto <matz@r...>
+
+ * io.c: #undef rb_argv moved before #define.
+
Tue Apr 15 18:02:17 2008 Nobuyoshi Nakada <nobu@r...>
* include/ruby/intern.h (rb_argv): replaced with rb_get_argv().
Index: io.c
===================================================================
--- io.c (revision 16039)
+++ io.c (revision 16040)
@@ -5037,6 +5037,7 @@
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 @@
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
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/