summaryrefslogtreecommitdiff
path: root/ext/db/db.c
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/db/db.c
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/db/db.c')
-rw-r--r--ext/db/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/db/db.c b/ext/db/db.c
index ab1412d086..8d7fc7cb5c 100644
--- a/ext/db/db.c
+++ b/ext/db/db.c
@@ -122,7 +122,7 @@ static int php_dbm_key_exists(DBM *dbf, datum key_datum) {
#define DBM_CREATE_MODE "a+b"
#define DBM_NEW_MODE "w+b"
#define DBM_DEFAULT_MODE "r"
-#define DBM_OPEN(filename, mode) fopen(filename, mode)
+#define DBM_OPEN(filename, mode) PHP_FOPEN(filename, mode)
#define DBM_CLOSE(dbf) fclose(dbf)
#define DBM_STORE(dbf, key, value, mode) flatfile_store(dbf, key, value, mode)
#define DBM_FETCH(dbf, key) flatfile_fetch(dbf, key)