ruby-cvs:23722
From: mame ruby-lang.org
Date: Mon, 19 May 2008 23:21:16 +0900 (JST)
Subject: [ruby-cvs:23722] Ruby:r16482 (trunk): * regexec.c (slow_search): check the case when the length is 1.
mame 2008-05-19 23:21:15 +0900 (Mon, 19 May 2008)
New Revision: 16482
Modified files:
trunk/ChangeLog
trunk/regexec.c
Log:
* regexec.c (slow_search): check the case when the length is 1.
The behavior of memcmp is undefined if the third argument is 0.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/regexec.c?r1=16482&r2=16481&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16482&r2=16481&diff_format=u