cvs: /php4/ext/dbase dbase.c
| From: | Sascha Schumann | Date: | Sun, 12 Dec 1999 10:49:54 +0000 |
| Subject: | cvs: /php4/ext/dbase dbase.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7812@lists.php.net to get a copy of this message | ||
sas Sun Dec 12 05:49:54 1999 EDT
Modified files:
/php4/ext/dbase dbase.c
Log:
Make it compile in ZTS mode
Index: php4/ext/dbase/dbase.c
diff -u php4/ext/dbase/dbase.c:1.10 php4/ext/dbase/dbase.c:1.11
--- php4/ext/dbase/dbase.c:1.10 Mon Aug 2 15:16:40 1999
+++ php4/ext/dbase/dbase.c Sun Dec 12 05:49:24 1999
@@ -114,6 +114,7 @@
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 @@
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) {