[macruby-changes] [4954] MacRuby/trunk/io.c

source_changes at macosforge.org source_changes at macosforge.org
Sat Nov 27 14:09:41 PST 2010


Revision: 4954
          http://trac.macosforge.org/projects/ruby/changeset/4954
Author:   lsansonetti at apple.com
Date:     2010-11-27 14:09:38 -0800 (Sat, 27 Nov 2010)
Log Message:
-----------
don't use argf as a variable name as its a macro

Modified Paths:
--------------
    MacRuby/trunk/io.c

Modified: MacRuby/trunk/io.c
===================================================================
--- MacRuby/trunk/io.c	2010-11-27 02:34:35 UTC (rev 4953)
+++ MacRuby/trunk/io.c	2010-11-27 22:09:38 UTC (rev 4954)
@@ -3509,7 +3509,7 @@
  */
 
 static VALUE
-argf_readline(VALUE argf, SEL sel, int argc, VALUE *argv)
+argf_readline(VALUE rcv, SEL sel, int argc, VALUE *argv)
 {
     VALUE line;
 
@@ -3517,7 +3517,7 @@
 	rb_eof_error();
     }
     ARGF_FORWARD(argc, argv);
-    line = argf_gets(argf, sel, argc, argv);
+    line = argf_gets(rcv, sel, argc, argv);
     if (NIL_P(line)) {
 	rb_eof_error();
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101127/cdaf66f5/attachment.html>


More information about the macruby-changes mailing list