summaryrefslogtreecommitdiff
path: root/ext/filepro
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-30 22:56:34 +0000
committerAndi Gutmans <andi@php.net>2000-03-30 22:56:34 +0000
commit9c3d6304dd7fe870278a7ad8688e40a9645f609c (patch)
treec1ac0b30f40abbb832d9ae2eadc492079a7f8d7e /ext/filepro
parent9df7df3293302198a29b1657682dba49ce02aa6b (diff)
downloadphp-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.c6
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);