From 2d2b69a0becf2151f4395366fc10c5633a31a82b Mon Sep 17 00:00:00 2001 From: Xuefer Date: Sat, 1 Aug 2009 19:25:27 +0000 Subject: [PATCH] fix build with PHP6 git-svn-id: svn://svn.lighttpd.net/xcache/trunk@658 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- processor/string.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processor/string.m4 b/processor/string.m4 index d777b79..b391642 100644 --- a/processor/string.m4 +++ b/processor/string.m4 @@ -58,8 +58,8 @@ define(`PROC_STRING_N_EX', ` fprintf(stderr, "\" len=%d\n", $3 - 1); ') ') - IFCALC(`xc_calc_string_n(processor, ISTYPE, ZSTR(SRCSTR), $3 IFASSERT(`, __LINE__'));') - IFSTORE(`DSTPTR = ifelse(PTRTYPE,`char',`ZSTR_S',`ZSTR_U')(xc_store_string_n(processor, ISTYPE, ZSTR(SRCSTR), $3 IFASSERT(`, __LINE__')));') + IFCALC(`xc_calc_string_n(processor, ISTYPE, SRCSTR, $3 IFASSERT(`, __LINE__'));') + IFSTORE(`DSTPTR = ifelse(PTRTYPE,`char',`ZSTR_S',`ZSTR_U')(xc_store_string_n(processor, ISTYPE, SRCSTR, $3 IFASSERT(`, __LINE__')));') IFRESTORE(` DSTPTR = e`'U`'strndup(SRCPTR, ($3) - 1); ')