[svn:parrot] r43009 - trunk/src

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Sat Dec 12 03:34:47 UTC 2009


Author: jkeenan
Date: Sat Dec 12 03:34:29 2009
New Revision: 43009
URL: https://trac.parrot.org/parrot/changeset/43009

Log:
Replace one instance of '->strstart'.  Attempts to replace the other three
instances in this file did not succeed.

Modified:
   trunk/src/utils.c

Modified: trunk/src/utils.c
==============================================================================
--- trunk/src/utils.c	Sat Dec 12 02:11:40 2009	(r43008)
+++ trunk/src/utils.c	Sat Dec 12 03:34:29 2009	(r43009)
@@ -641,7 +641,7 @@
 
     for (current_offset = max_possible_offset; current_offset >= 0;
             current_offset--) {
-        const char * const base_start = (char *)base->strstart + current_offset;
+        const char * const base_start = (char *)Buffer_bufstart(base) + current_offset;
         if (memcmp(base_start, search_start, searchlen) == 0) {
             return current_offset;
         }


More information about the parrot-commits mailing list