Changeset 828
- Timestamp:
- 2012-03-23T09:04:14+01:00 (14 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
ChangeLog (modified) (2 diffs)
-
NEWS (modified) (1 diff)
-
processor/processor.m4 (modified) (1 diff)
-
processor/string.m4 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r812 r828 1 2.0.0 201 1-?-?1 2.0.0 2012-?-? 2 2 Ini Settings Changes 3 3 ======== … … 10 10 * fixed #55: segv php tokenizer on certain special situation 11 11 * compiler errors: all compiler warning (E_STRICT only currently) is now cached and is supported for user handler 12 13 1.3.2 2012-?-? 14 ======== 15 * fix constant name handling (possible SIGSEGV) 16 17 1.3.2 2012-03-23 18 ======== 12 19 13 20 1.3.2 2011-06-04 -
trunk/NEWS
r812 r828 1 2.0.0 201 1-?-?1 2.0.0 2012-?-? 2 2 * Cache 1 copy for all files with same content 3 4 1.3.2 2012-?-? 5 ======== 6 * stability fix for prior PHP_5_4 3 7 4 8 1.3.2 2011-06-04 -
trunk/processor/processor.m4
r825 r828 253 253 DISPATCH(int, flags) 254 254 DISPATCH(uint, name_len) 255 pushdef(`emalloc', `malloc($1)') 256 pushdef(`ecalloc', `calloc($1, $2)') 255 pushdef(`estrndup', `zend_strndup') 257 256 PROC_ZSTRING_N(, name, name_len) 258 popdef(`ecalloc') 259 popdef(`emalloc') 257 popdef(`estrndup') 260 258 DISPATCH(int, module_number) 261 259 ') -
trunk/processor/string.m4
r690 r828 21 21 STRTYPE, `zstr_char', `ZSTR_S($1)', 22 22 `', `', `$1')) 23 pushdef(` U', ifelse(24 PTRTYPE, `char', ` ',25 PTRTYPE, `UChar', ` u'))23 pushdef(`STRDUP', ifelse( 24 PTRTYPE, `char', `estrndup', 25 PTRTYPE, `UChar', `eustrndup')) 26 26 if (SRCPTR == NULL) { 27 27 IFNOTMEMCPY(`IFCOPY(` … … 62 62 IFSTORE(`DSTPTR = ifelse(PTRTYPE,`char',`ZSTR_S',`ZSTR_U')(xc_store_string_n(processor, ISTYPE, SRCSTR, $3 C_RELAYLINE));') 63 63 IFRESTORE(` 64 DSTPTR = e`'U`'strndup(SRCPTR, ($3) - 1);64 DSTPTR = STRDUP() (SRCPTR, ($3) - 1); 65 65 ') 66 66 FIXPOINTER_EX(`PTRTYPE', DSTPTR) … … 77 77 ') 78 78 } 79 popdef(` U')79 popdef(`STRDUP') 80 80 popdef(`DSTPTR') 81 81 popdef(`SRCPTR')
Note: See TracChangeset
for help on using the changeset viewer.

