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/db/db.c | |
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/db/db.c')
-rw-r--r-- | ext/db/db.c | 2 |
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) |