cvs: /php4/ext/filepro filepro.c
| From: | Sascha Schumann | Date: | Sun, 12 Dec 1999 10:52:14 +0000 |
| Subject: | cvs: /php4/ext/filepro filepro.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7815@lists.php.net to get a copy of this message | ||
sas Sun Dec 12 05:52:14 1999 EDT
Modified files:
/php4/ext/filepro filepro.c
Log:
Make it compile in ZTS mode
Index: php4/ext/filepro/filepro.c
diff -u php4/ext/filepro/filepro.c:1.7 php4/ext/filepro/filepro.c:1.8
--- php4/ext/filepro/filepro.c:1.7 Fri Nov 26 11:51:53 1999
+++ php4/ext/filepro/filepro.c Sun Dec 12 05:51:44 1999
@@ -185,6 +185,7 @@
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 @@
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 @@
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) {