ruby-changes:40765
From: nobu <ko1@a...>
Date: Wed, 2 Dec 2015 09:45:44 +0900 (JST)
Subject: [ruby-changes:40765] nobu:r52844 (trunk): string.c: adjust argument qualifier
nobu 2015-12-02 09:45:32 +0900 (Wed, 02 Dec 2015) New Revision: 52844 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52844 Log: string.c: adjust argument qualifier * string.c (str_make_independent_expand): adjust argument qualifier to get rid of a VC bug. Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 52843) +++ string.c (revision 52844) @@ -161,7 +161,7 @@ static VALUE str_replace_shared_without_ https://github.com/ruby/ruby/blob/trunk/string.c#L161 static VALUE str_new_shared(VALUE klass, VALUE str); static VALUE str_new_frozen(VALUE klass, VALUE orig); static VALUE str_new_static(VALUE klass, const char *ptr, long len, int encindex); -static void str_make_independent_expand(VALUE str, long len, long expand, int termlen); +static void str_make_independent_expand(VALUE str, long len, long expand, const int termlen); static inline void str_make_independent(VALUE str) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/