summaryrefslogtreecommitdiff
path: root/ext/db
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-05-23 14:36:27 +0000
committerAndi Gutmans <andi@php.net>2000-05-23 14:36:27 +0000
commit521f03c184fad08cc6943decd53df29f4a3ed830 (patch)
tree5e8f40e3843a91dc461b2e329d67ede4ac12252e /ext/db
parent0eb51100b77996efbf0a728efe55ded996814025 (diff)
downloadphp-git-521f03c184fad08cc6943decd53df29f4a3ed830.tar.gz
- Support virtual unlink()
Diffstat (limited to 'ext/db')
-rw-r--r--ext/db/db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/db/db.c b/ext/db/db.c
index 07cdefc5ba..ed64c9c14a 100644
--- a/ext/db/db.c
+++ b/ext/db/db.c
@@ -399,7 +399,7 @@ dbm_info *php_dbm_open(char *filename, char *mode) {
#if NFS_HACK
if (lockfn) {
- unlink(lockfn);
+ V_UNLINK(lockfn);
}
#endif
if (lockfn) efree(lockfn);
@@ -434,7 +434,7 @@ int php_dbm_close(dbm_info *info) {
dbf = info->dbf;
#if NFS_HACK
- unlink(info->lockfn);
+ V_UNLINK(info->lockfn);
#else
if (info->lockfn) {
lockfd = V_OPEN((info->lockfn,O_RDWR,0644));