ruby-changes:45070
From: ngoto <ko1@a...>
Date: Thu, 22 Dec 2016 00:21:24 +0900 (JST)
Subject: [ruby-changes:45070] ngoto:r57143 (trunk): regcomp.c: Fix compile error with old version of fcc on Solaris
ngoto 2016-12-22 00:21:19 +0900 (Thu, 22 Dec 2016) New Revision: 57143 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57143 Log: regcomp.c: Fix compile error with old version of fcc on Solaris * regcomp.c (get_min_match_length): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909] Modified files: trunk/regcomp.c Index: regcomp.c =================================================================== --- regcomp.c (revision 57142) +++ regcomp.c (revision 57143) @@ -2233,7 +2233,7 @@ get_min_match_length(Node* node, OnigDis https://github.com/ruby/ruby/blob/trunk/regcomp.c#L2233 *min = en->min_len; else { if (IS_ENCLOSE_MARK1(NENCLOSE(node))) - *min = 0; // recursive + *min = 0; /* recursive */ else { SET_ENCLOSE_STATUS(node, NST_MARK1); r = get_min_match_length(en->target, min, env); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/