diff options
author | Andi Gutmans <andi@php.net> | 2000-03-30 22:56:34 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-03-30 22:56:34 +0000 |
commit | 9c3d6304dd7fe870278a7ad8688e40a9645f609c (patch) | |
tree | c1ac0b30f40abbb832d9ae2eadc492079a7f8d7e /ext/filepro | |
parent | 9df7df3293302198a29b1657682dba49ce02aa6b (diff) | |
download | php-git-9c3d6304dd7fe870278a7ad8688e40a9645f609c.tar.gz |
- Hopefully got most of them. We also need a chdir_file function like
for Apache.
Diffstat (limited to 'ext/filepro')
-rw-r--r-- | ext/filepro/filepro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c index e8d2dfc7cf..3de10645e4 100644 --- a/ext/filepro/filepro.c +++ b/ext/filepro/filepro.c @@ -210,7 +210,7 @@ PHP_FUNCTION(filepro) RETURN_FALSE; } - if (!(fp = fopen(workbuf, "r"))) { + if (!(fp = PHP_FOPEN(workbuf, "r"))) { php_error(E_WARNING, "filePro: cannot open map: [%d] %s", errno, strerror(errno)); RETURN_FALSE; @@ -306,7 +306,7 @@ PHP_FUNCTION(filepro_rowcount) RETURN_FALSE; } - if (!(fp = fopen(workbuf, "r"))) { + if (!(fp = PHP_FOPEN(workbuf, "r"))) { php_error(E_WARNING, "filePro: cannot open key: [%d] %s", errno, strerror(errno)); RETURN_FALSE; @@ -516,7 +516,7 @@ PHP_FUNCTION(filepro_retrieve) RETURN_FALSE; } - if (!(fp = fopen(workbuf, "r"))) { + if (!(fp = PHP_FOPEN(workbuf, "r"))) { php_error(E_WARNING, "filePro: cannot open key: [%d] %s", errno, strerror(errno)); fclose(fp); |