summaryrefslogtreecommitdiff
path: root/ext/dba/dba_dbm.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-30 19:01:17 +0000
committerAndi Gutmans <andi@php.net>2000-04-30 19:01:17 +0000
commit5d5b09e1a73bb8446095df86ed61370c48385a55 (patch)
tree03a61a74b9e84476a185c914ecf5985c8e8acf78 /ext/dba/dba_dbm.c
parent1f64d98753c407afdd788ba123ff077e81a342d3 (diff)
downloadphp-git-5d5b09e1a73bb8446095df86ed61370c48385a55.tar.gz
- Change some open's to V_OPEN()'s
Diffstat (limited to 'ext/dba/dba_dbm.c')
-rw-r--r--ext/dba/dba_dbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/dba_dbm.c b/ext/dba/dba_dbm.c
index 0fab79f002..13b7ac7d5d 100644
--- a/ext/dba/dba_dbm.c
+++ b/ext/dba/dba_dbm.c
@@ -51,7 +51,7 @@
#define TRUNC_IT(extension, mode) \
snprintf(buf, PATH_MAX, "%s" extension, info->path); \
buf[PATH_MAX] = '\0'; \
- if((fd = open(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \
+ if((fd = V_OPEN((buf, O_CREAT | mode | O_WRONLY, filemode))) == -1) \
return FAILURE; \
close(fd);