Changeset 121
- Timestamp:
- 2006-09-02T04:09:03+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/utils.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r103 r121 360 360 #define OG(x) (sandbox->orig_##x) 361 361 /* }}} */ 362 #ifdef HAVE_XCACHE_CONSTANT363 static void xc_constant_copy_ctor(zend_constant *c) /* {{{ */364 {365 #ifdef IS_UNICODE366 if (UG(unicode)) {367 ZSTR_U(c->name) = zend_ustrndup(ZSTR_U(c->name), c->name_len - 1);368 }369 else370 #endif371 {372 ZSTR_S(c->name) = zend_strndup(ZSTR_S(c->name), c->name_len - 1);373 }374 if (!(c->flags & CONST_PERSISTENT)) {375 zval_copy_ctor(&c->value);376 }377 }378 /* }}} */379 #endif380 362 xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, char *filename TSRMLS_DC) /* {{{ */ 381 363 {
Note: See TracChangeset
for help on using the changeset viewer.

