diff options
| author | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-27 20:01:23 +0000 |
|---|---|---|
| committer | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-27 20:01:23 +0000 |
| commit | eb38ca844be8f6d1f975bbe1e7cbad30d58dfe48 (patch) | |
| tree | 79cd09acaeff56b01bf568d078fb04663d43137c /sapi/pi3web | |
| parent | 6d9c04e82399d7892ce221cf807dbbb2abd0b2df (diff) | |
| download | php-git-eb38ca844be8f6d1f975bbe1e7cbad30d58dfe48.tar.gz | |
Undo Z_ subst for sapi and ext/yaz
Diffstat (limited to 'sapi/pi3web')
| -rw-r--r-- | sapi/pi3web/pi3web_sapi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sapi/pi3web/pi3web_sapi.c b/sapi/pi3web/pi3web_sapi.c index 33cc78613b..a1bb15f527 100644 --- a/sapi/pi3web/pi3web_sapi.c +++ b/sapi/pi3web/pi3web_sapi.c @@ -355,9 +355,9 @@ static void hash_pi3web_variables(TSRMLS_D) } *colon = 0; INIT_PZVAL(entry); - Z_STRLEN_P(entry) = strlen(value); - Z_STRVAL_P(entry) = estrndup(value, Z_STRLEN_P(entry)); - Z_TYPE_P(entry) = IS_STRING; + entry->value.str.len = strlen(value); + entry->value.str.val = estrndup(value, entry->value.str.len); + entry->type = IS_STRING; zend_hash_add(&EG(symbol_table), variable, strlen(variable)+1, &entry, sizeof(zval *), NULL); *colon = ':'; } @@ -379,7 +379,7 @@ DWORD PHP4_wrapper(LPCONTROL_BLOCK lpCB) zend_first_try { file_handle.filename = lpCB->lpszFileName; file_handle.free_filename = 0; - Z_TYPE(file_handle) = ZEND_HANDLE_FILENAME; + file_handle.type = ZEND_HANDLE_FILENAME; file_handle.opened_path = NULL; CG(extended_info) = 0; |
