Browse Source

typo

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1546 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 7 years ago
parent
commit
57b3038d5f
  1. 2
      NEWS
  2. 3
      processor/head.m4
  3. 6
      processor/processor.m4

2
NEWS

@ -5,7 +5,7 @@
* added class const support for __FILE__ __DIR__
* updated disassembler decompiler support
3.2.1 2014-09-18
3.2.0 2014-09-18
========
* PHP_5_6 support
* reduce memory usage for small or empty files

3
processor/head.m4

@ -18,6 +18,7 @@ EXPORT(`#include "xcache/xc_allocator.h"')
#include "xcache/xc_const_string.h"
#include "xcache/xc_utils.h"
#include "util/xc_align.h"
#include "util/xc_trace.h"
#include "xcache_globals.h"
#if defined(HARDENING_PATCH_HASH_PROTECT) && HARDENING_PATCH_HASH_PROTECT
@ -225,6 +226,7 @@ static inline zstr xc_store_string_n(xc_processor_t *processor, zend_uchar type,
}
if (zend_u_hash_find(&processor->strings, type, str, (uint) size, (void **) &pret) == SUCCESS) {
TRACE("found old string %s:%ld %p", str, size, *pret);
return *pret;
}
@ -232,6 +234,7 @@ static inline zstr xc_store_string_n(xc_processor_t *processor, zend_uchar type,
ALLOC(ZSTR_V(ret), char, realsize)
memcpy(ZSTR_V(ret), ZSTR_V(str), realsize);
zend_u_hash_add(&processor->strings, type, str, (uint) size, (void *) &ret, sizeof(zstr), NULL);
TRACE("stored new string %s:%ld %p", str, size, ret);
return ret;
popdef(`__LINE__')

6
processor/processor.m4

@ -163,7 +163,13 @@ dnl {{{ zvalue_value
case FLAG_IS_BC:
#endif
PROCESS(int, value.str.len)
IFRESTORE(`
TRACE("%p, %p, %d", src->value.str.val, processor->entry_php_src->filepath.str, src->value.str.val == processor->entry_php_src->filepath.str);
')
PROC_STRING_L(value.str.val, value.str.len)
dnl IFSTORE(`
dnl TRACE("%s, %d", dst->value.str.val, dst->value.str.val == processor->entry_php_dst->filepath.str);
dnl ')
break;
#ifdef IS_UNICODE
case IS_UNICODE:

Loading…
Cancel
Save