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

ruby-changes:41866

From: nobu <ko1@a...>
Date: Thu, 25 Feb 2016 21:35:42 +0900 (JST)
Subject: [ruby-changes:41866] nobu:r53940 (trunk): eval_error.c: constify

nobu	2016-02-25 21:36:25 +0900 (Thu, 25 Feb 2016)

  New Revision: 53940

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53940

  Log:
    eval_error.c: constify

  Modified files:
    trunk/eval_error.c
Index: eval_error.c
===================================================================
--- eval_error.c	(revision 53939)
+++ eval_error.c	(revision 53940)
@@ -139,7 +139,7 @@ error_print(void) https://github.com/ruby/ruby/blob/trunk/eval_error.c#L139
 	    warn_print("\n");
 	}
 	else {
-	    char *tail = 0;
+	    const char *tail = 0;
 	    long len = elen;
 
 	    if (RSTRING_PTR(epath)[0] == '#')

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

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