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

ruby-changes:26529

From: nobu <ko1@a...>
Date: Mon, 24 Dec 2012 07:24:07 +0900 (JST)
Subject: [ruby-changes:26529] nobu:r38580 (trunk): * error.c (rb_compile_error_append): fix typo.

nobu	2012-12-24 07:23:52 +0900 (Mon, 24 Dec 2012)

  New Revision: 38580

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38580

  Log:
    * error.c (rb_compile_error_append): fix typo.

  Modified files:
    trunk/error.c

Index: error.c
===================================================================
--- error.c	(revision 38579)
+++ error.c	(revision 38580)
@@ -153,7 +153,7 @@ rb_compile_error_append(const char *fmt, https://github.com/ruby/ruby/blob/trunk/error.c#L153
     VALUE str;
 
     va_start(args, fmt);
-    str = rb_sprintf(fmt, args);
+    str = rb_vsprintf(fmt, args);
     va_end(args);
     compile_err_append(str);
 }

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

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