Changeset 840 in svn for trunk/processor/dispatch.m4


Ignore:
Timestamp:
2012-03-25T04:51:51+02:00 (3 years ago)
Author:
Xuefer
Message:

copy md5 digest correctly in notmemcpy mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/dispatch.m4

    r662 r840  
    2424    , `$1', `xc_entry_type_t',  `PROC_INT(`$2', `d',  `$1')'
    2525    , `$1', `xc_hash_value_t',  `PROC_INT(`$2', `lu', `$1')'
    26     , `$1', `xc_md5sum_t',      `/* is copying enough? */COPY(`$2')'
     26    , `$1', `xc_md5sum_t',      `COPY(`$2')'
    2727    , `', `', `m4_errprint(`Unknown type "$1"')'
    2828    )
     
    3939                ifelse(
    4040                    `$2', `zend_bool', `add_assoc_bool_ex(arr, ZEND_STRS("$3"), src->$3[i] ? 1 : 0);'
    41                 , `', `', `add_assoc_long_ex(arr, ZEND_STRS("$3"), src->$3[i]);')
     41                , `', `', `add_next_index_long(arr, src->$3[i]);')
    4242            }
    4343            add_assoc_zval_ex(dst, ZEND_STRS("$3"), arr);
Note: See TracChangeset for help on using the changeset viewer.