diff options
author | Sascha Schumann <sas@php.net> | 1999-12-12 10:51:44 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-12-12 10:51:44 +0000 |
commit | 58a33274c964d329b10b1b3bcfab7fcb93ea4b32 (patch) | |
tree | fdd58726026c73b20adc16d086d6649c9a696311 | |
parent | 9279df20251d13eb34e1bc84a93b922ff5b8cfcb (diff) | |
download | php-git-58a33274c964d329b10b1b3bcfab7fcb93ea4b32.tar.gz |
Make it compile in ZTS mode
-rw-r--r-- | ext/dbase/dbase.c | 2 | ||||
-rw-r--r-- | ext/filepro/filepro.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c index 196b25c191..475e20a3b8 100644 --- a/ext/dbase/dbase.c +++ b/ext/dbase/dbase.c @@ -114,6 +114,7 @@ PHP_FUNCTION(dbase_open) { pval *dbf_name, *options; dbhead_t *dbh; int handle; + PLS_FETCH(); DBase_TLS_VARS; if (ARG_COUNT(ht) != 2 || getParameters(ht,2,&dbf_name,&options)==FAILURE) { @@ -571,6 +572,7 @@ PHP_FUNCTION(dbase_create) { int num_fields; dbfield_t *dbf, *cur_f; int i, rlen, handle; + PLS_FETCH(); DBase_TLS_VARS; if (ARG_COUNT(ht) != 2 || getParameters(ht,2,&filename,&fields)==FAILURE) { diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c index a9b7ec3064..44601f9e22 100644 --- a/ext/filepro/filepro.c +++ b/ext/filepro/filepro.c @@ -185,6 +185,7 @@ PHP_FUNCTION(filepro) char *strtok_buf = NULL; int i; FP_FIELD *new_field, *tmp; + PLS_FETCH(); FP_TLS_VARS; if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &dir) == FAILURE) { @@ -279,6 +280,7 @@ PHP_FUNCTION(filepro_rowcount) char workbuf[MAXPATHLEN]; char readbuf[256]; int recsize = 0, records = 0; + PLS_FETCH(); FP_TLS_VARS; if (ARG_COUNT(ht) != 0) { @@ -470,6 +472,7 @@ PHP_FUNCTION(filepro_retrieve) char readbuf[1024]; /* FIX - Work out better buffering! */ int i, fnum, rnum; long offset; + PLS_FETCH(); FP_TLS_VARS; if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &rno, &fno) == FAILURE) { |