{
dTHX;
Malloc_t ptr;
+#if defined(DEBUGGING) || defined(HAS_64K_LIMIT) || defined(PERL_TRACK_MEMPOOL)
const MEM_SIZE total_size = size * count
-#ifdef PERL_TRACK_MEMPOOL
+#ifdef PERL_TRACK_MEMPOOL
+ sTHX
#endif
;
+#endif
#ifdef HAS_64K_LIMIT
if (total_size > 0xffff) {
bigend -= lend - little;
OUTER:
while (big <= bigend) {
- if (*big++ != first)
- goto OUTER;
- for (x=big,s=little; s < lend; x++,s++) {
- if (*s != *x)
- goto OUTER;
+ if (*big++ == first) {
+ for (x=big,s=little; s < lend; x++,s++) {
+ if (*s != *x)
+ goto OUTER;
+ }
+ return (char*)(big-1);
}
- return (char*)(big-1);
}
}
return NULL;