summaryrefslogtreecommitdiff
path: root/ext/session/session.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/session/session.c
parent96330d36bc1146c87a14c7def528e79a4866bee7 (diff)
downloadphp-git-4c823e8a895632382de841055fa961ec760d086c.tar.gz
- Change macros from V_ to VCWD_ because of AIX name clash
Diffstat (limited to 'ext/session/session.c')
-rw-r--r--ext/session/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 013754301c..5fad364eaf 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -536,7 +536,7 @@ static char *_php_create_id(int *newlen PSLS_DC)
if (PS(entropy_length) > 0) {
int fd;
- fd = V_OPEN((PS(entropy_file), O_RDONLY));
+ fd = VCWD_OPEN((PS(entropy_file), O_RDONLY));
if (fd >= 0) {
char *p;
int n;
@@ -652,7 +652,7 @@ static void last_modified(void)
path = SG(request_info).path_translated;
if (path) {
- if (V_STAT(path, &sb) == -1) {
+ if (VCWD_STAT(path, &sb) == -1) {
return;
}