Changeset 637 for trunk/utils.c


Ignore:
Timestamp:
2009-07-05T12:05:40+02:00 (5 years ago)
Author:
moo
Message:

PHP_6: fix build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r635 r637  
    597597#endif 
    598598 
    599 static void xc_copy_zend_constant(zend_constant *c) /* {{{ */ 
    600 { 
     599void xc_copy_zend_constant(zend_constant *c) /* {{{ */ 
     600{ 
     601#ifdef IS_UNICODE 
     602    c->name.u = zend_ustrndup(c->name.u, c->name_len - 1); 
     603#else 
    601604    c->name = zend_strndup(c->name, c->name_len - 1); 
     605#endif 
    602606    if (!(c->flags & CONST_PERSISTENT)) { 
    603607        zval_copy_ctor(&c->value); 
Note: See TracChangeset for help on using the changeset viewer.