summaryrefslogtreecommitdiff
path: root/ext/fdf/fdf.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-27 10:16:41 +0000
committerZeev Suraski <zeev@php.net>2001-07-27 10:16:41 +0000
commitfe6f8712a439c8b5046a03bca9ce5ae8e75aa4f5 (patch)
treec7bc98cac58386828871aae860f90cac0ebdcf8f /ext/fdf/fdf.c
parent2c254ba762d9392a732d5793b5b193ee6e395f1c (diff)
downloadphp-git-fe6f8712a439c8b5046a03bca9ce5ae8e75aa4f5.tar.gz
- Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
Diffstat (limited to 'ext/fdf/fdf.c')
-rw-r--r--ext/fdf/fdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c
index 6f7910813f..76605e9186 100644
--- a/ext/fdf/fdf.c
+++ b/ext/fdf/fdf.c
@@ -731,7 +731,7 @@ SAPI_POST_HANDLER_FUNC(fdf_post_handler)
FDFErc err;
ASInt32 nBytes;
zval *array_ptr = (zval *) arg;
- ELS_FETCH();
+ TSRMLS_FETCH();
PLS_FETCH();
fp=php_open_temporary_file(NULL,"fdfdata.",&filename);
@@ -774,7 +774,7 @@ SAPI_POST_HANDLER_FUNC(fdf_post_handler)
for(p=value;*p;p++) if(*p=='\r') *p='\n';
if(lastfieldname) efree(lastfieldname);
lastfieldname = estrdup(name);
- php_register_variable(name, value, array_ptr ELS_CC PLS_CC);
+ php_register_variable(name, value, array_ptr TSRMLS_CC PLS_CC);
}
}
}