[前][次][番号順一覧][スレッド一覧]

ruby-changes:2513

From: ko1@a...
Date: 23 Nov 2007 16:16:05 +0900
Subject: [ruby-changes:2513] akr - Ruby:r14004 (trunk): fix va_start arg.

akr	2007-11-23 16:15:17 +0900 (Fri, 23 Nov 2007)

  New Revision: 14004

  Modified files:
    trunk/struct.c

  Log:
    fix va_start arg.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/struct.c?r1=14004&r2=14003

Index: struct.c
===================================================================
--- struct.c	(revision 14003)
+++ struct.c	(revision 14004)
@@ -233,7 +233,7 @@
     char *name;
 
     members = rb_ary_new2(0);
-    va_start(ar, super);
+    va_start(ar, alloc);
     i = 0;
     while ((name = va_arg(ar, char*)) != NULL) {
         rb_ary_push(members, ID2SYM(rb_intern(name)));

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]