diff options
author | Andi Gutmans <andi@php.net> | 2001-04-30 12:45:02 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-04-30 12:45:02 +0000 |
commit | 4c823e8a895632382de841055fa961ec760d086c (patch) | |
tree | d319b78485393d28ee56b4302803bc5155558ba6 /ext/dba | |
parent | 96330d36bc1146c87a14c7def528e79a4866bee7 (diff) | |
download | php-git-4c823e8a895632382de841055fa961ec760d086c.tar.gz |
- Change macros from V_ to VCWD_ because of AIX name clash
Diffstat (limited to 'ext/dba')
-rw-r--r-- | ext/dba/dba_cdb.c | 2 | ||||
-rw-r--r-- | ext/dba/dba_db2.c | 2 | ||||
-rw-r--r-- | ext/dba/dba_db3.c | 2 | ||||
-rw-r--r-- | ext/dba/dba_dbm.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/dba/dba_cdb.c b/ext/dba/dba_cdb.c index 93abec5934..ab54d12da6 100644 --- a/ext/dba/dba_cdb.c +++ b/ext/dba/dba_cdb.c @@ -71,7 +71,7 @@ DBA_OPEN_FUNC(cdb) cdb = malloc(sizeof *cdb); memset(cdb, 0, sizeof *cdb); - cdb->fd = V_OPEN((info->path, gmode)); + cdb->fd = VCWD_OPEN((info->path, gmode)); if(cdb->fd < 0) { free(cdb); return FAILURE; diff --git a/ext/dba/dba_db2.c b/ext/dba/dba_db2.c index d79e62ed42..2c6fcb8ace 100644 --- a/ext/dba/dba_db2.c +++ b/ext/dba/dba_db2.c @@ -61,7 +61,7 @@ DBA_OPEN_FUNC(db2) type = info->mode == DBA_READER ? DB_UNKNOWN : info->mode == DBA_TRUNC ? DB_BTREE : - V_STAT(info->path, &check_stat) ? DB_BTREE : DB_UNKNOWN; + VCWD_STAT(info->path, &check_stat) ? DB_BTREE : DB_UNKNOWN; gmode = info->mode == DBA_READER ? DB_RDONLY : info->mode == DBA_CREAT ? DB_CREATE : diff --git a/ext/dba/dba_db3.c b/ext/dba/dba_db3.c index 5d3cd69606..e0832a86a0 100644 --- a/ext/dba/dba_db3.c +++ b/ext/dba/dba_db3.c @@ -63,7 +63,7 @@ DBA_OPEN_FUNC(db3) type = info->mode == DBA_READER ? DB_UNKNOWN : info->mode == DBA_TRUNC ? DB_BTREE : - V_STAT(info->path, &check_stat) ? DB_BTREE : DB_UNKNOWN; + VCWD_STAT(info->path, &check_stat) ? DB_BTREE : DB_UNKNOWN; gmode = info->mode == DBA_READER ? DB_RDONLY : info->mode == DBA_CREAT ? DB_CREATE : diff --git a/ext/dba/dba_dbm.c b/ext/dba/dba_dbm.c index a9df5452c1..ede05a47ca 100644 --- a/ext/dba/dba_dbm.c +++ b/ext/dba/dba_dbm.c @@ -47,7 +47,7 @@ #define TRUNC_IT(extension, mode) \ snprintf(buf, MAXPATHLEN, "%s" extension, info->path); \ buf[MAXPATHLEN-1] = '\0'; \ - if((fd = V_OPEN((buf, O_CREAT | mode | O_WRONLY, filemode))) == -1) \ + if((fd = VCWD_OPEN((buf, O_CREAT | mode | O_WRONLY, filemode))) == -1) \ return FAILURE; \ close(fd); |