summaryrefslogtreecommitdiff
path: root/ext/dbase/dbase.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-04-30 12:45:02 +0000
committerAndi Gutmans <andi@php.net>2001-04-30 12:45:02 +0000
commit4c823e8a895632382de841055fa961ec760d086c (patch)
treed319b78485393d28ee56b4302803bc5155558ba6 /ext/dbase/dbase.c
parent96330d36bc1146c87a14c7def528e79a4866bee7 (diff)
downloadphp-git-4c823e8a895632382de841055fa961ec760d086c.tar.gz
- Change macros from V_ to VCWD_ because of AIX name clash
Diffstat (limited to 'ext/dbase/dbase.c')
-rw-r--r--ext/dbase/dbase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c
index 9cb8325b74..63312f47b6 100644
--- a/ext/dbase/dbase.c
+++ b/ext/dbase/dbase.c
@@ -598,7 +598,7 @@ PHP_FUNCTION(dbase_create) {
RETURN_FALSE;
}
- if ((fd = V_OPEN((Z_STRVAL_P(filename), O_BINARY|O_RDWR|O_CREAT, 0644))) < 0) {
+ if ((fd = VCWD_OPEN((Z_STRVAL_P(filename), O_BINARY|O_RDWR|O_CREAT, 0644))) < 0) {
php_error(E_WARNING, "Unable to create database (%d): %s", errno, strerror(errno));
RETURN_FALSE;
}