[svn:parrot] r43011 - trunk/src

cotto at svn.parrot.org cotto at svn.parrot.org
Sat Dec 12 06:52:03 UTC 2009


Author: cotto
Date: Sat Dec 12 06:52:02 2009
New Revision: 43011
URL: https://trac.parrot.org/parrot/changeset/43011

Log:
[string] one more strstart removal that doesn't break anything.  The other two
in this file will require a deeper fix.

Modified:
   trunk/src/utils.c

Modified: trunk/src/utils.c
==============================================================================
--- trunk/src/utils.c	Sat Dec 12 03:51:38 2009	(r43010)
+++ trunk/src/utils.c	Sat Dec 12 06:52:02 2009	(r43011)
@@ -632,7 +632,7 @@
 {
     ASSERT_ARGS(Parrot_byte_rindex)
     const INTVAL searchlen          = search->strlen;
-    const char * const search_start = search->strstart;
+    const char * const search_start = Buffer_bufstart(search);
     UINTVAL max_possible_offset     = (base->strlen - search->strlen);
     INTVAL current_offset;
 


More information about the parrot-commits mailing list