ruby-changes:7449
From: akr <ko1@a...>
Date: Sun, 31 Aug 2008 11:47:31 +0900 (JST)
Subject: [ruby-changes:7449] Ruby:r18968 (trunk): * ext/strscan/strscan.c (strscan_do_scan): fix usecnt decrement.
akr 2008-08-31 11:43:17 +0900 (Sun, 31 Aug 2008) New Revision: 18968 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18968 Log: * ext/strscan/strscan.c (strscan_do_scan): fix usecnt decrement. Modified files: trunk/ChangeLog trunk/ext/strscan/strscan.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18967) +++ ChangeLog (revision 18968) @@ -1,3 +1,7 @@ +Sun Aug 31 11:39:21 2008 Tanaka Akira <akr@f...> + + * ext/strscan/strscan.c (strscan_do_scan): fix usecnt decrement. + Sun Aug 31 04:38:47 2008 Tanaka Akira <akr@f...> * transcode.c (econv_putback): make max argument optional. @@ -304,7 +308,7 @@ * win32/win32.c, include/ruby/win32.h (rb_w32_pipe): overlapped pipe I/O support. - * wn32/win32.c (rb_w32_read, rb_w32_write): overlapped I/O support to + * win32/win32.c (rb_w32_read, rb_w32_write): overlapped I/O support to enable canceling I/O. * thread_win32.c (ubf_handle): remove workaround. @@ -369,7 +373,7 @@ Wed Aug 27 10:34:42 2008 NARUSE, Yui <naruse@r...> - * lib/cgi.rb (CGI::Cookie): remove delagate. + * lib/cgi.rb (CGI::Cookie): remove delegate. Patch by Takeyuki Fujioka. [ruby-dev:35995] * test/cgi/test_cgi_cookie.rb: added for above. @@ -607,7 +611,7 @@ Mon Aug 25 14:22:21 2008 Yuki Sonoda (Yugui) <yugui@y...> * parse.y (YYSTYPE): struct RVarmap has been no longer - defnied. + defined. see also r11717 by matz. Mon Aug 25 10:42:18 2008 Nobuyoshi Nakada <nobu@r...> @@ -828,7 +832,7 @@ Sun Aug 24 08:03:31 2008 Nobuyoshi Nakada <nobu@r...> - * strftime.c (daylight, timezone): not provied as dllexport on cygwin, + * strftime.c (daylight, timezone): not provided as dllexport on cygwin, right now. Sun Aug 24 06:39:05 2008 NARUSE, Yui <naruse@r...> @@ -997,7 +1001,7 @@ * include/ruby/intern.h: added a declaration. - * lib/complex.rb: added an obsolate class method. + * lib/complex.rb: added an obsolete class method. * lib/cmath.rb: use scalar? instead of generic?. Index: ext/strscan/strscan.c =================================================================== --- ext/strscan/strscan.c (revision 18967) +++ ext/strscan/strscan.c (revision 18968) @@ -431,7 +431,7 @@ (UChar* )CURPTR(p), (UChar* )(CURPTR(p) + S_RESTLEN(p)), &(p->regs), ONIG_OPTION_NONE); } - if (!tmpreg) RREGEXP(re)->usecnt--; + if (!tmpreg) RREGEXP(regex)->usecnt--; if (tmpreg) { if (RREGEXP(regex)->usecnt) { onig_free(re); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/