summaryrefslogtreecommitdiff
path: root/main/php_realpath.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-15 14:20:01 +0000
committerAndi Gutmans <andi@php.net>2000-04-15 14:20:01 +0000
commit1665cba750539a4245cf600bacdff3f74fe7bbfd (patch)
treedafdf6338d70127846edf9f25cb6955777e7b6de /main/php_realpath.c
parent603d5ff5d8e2ecfff40f47f9a1e1be8739cec0db (diff)
downloadphp-git-1665cba750539a4245cf600bacdff3f74fe7bbfd.tar.gz
- Change PHP_ to V_ (directory & file functions)
Diffstat (limited to 'main/php_realpath.c')
-rw-r--r--main/php_realpath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/php_realpath.c b/main/php_realpath.c
index b134b3fce3..d60efa362c 100644
--- a/main/php_realpath.c
+++ b/main/php_realpath.c
@@ -63,7 +63,7 @@ char *php_realpath(char *path, char resolved_path []) {
if ((*workpos == '\\') || (*workpos == '/')) {
/* We start at the root of the current drive */
/* Get the current directory */
- if (PHP_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
+ if (V_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
/* Unable to get cwd */
resolved_path[0] = 0;
return NULL;
@@ -79,7 +79,7 @@ char *php_realpath(char *path, char resolved_path []) {
workpos++;
} else {
/* Use the current directory */
- if (PHP_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
+ if (V_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
/* Unable to get cwd */
resolved_path[0] = 0;
return NULL;
@@ -94,7 +94,7 @@ char *php_realpath(char *path, char resolved_path []) {
workpos++;
} else {
/* Use the current directory */
- if (PHP_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
+ if (V_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
/* Unable to get cwd */
resolved_path[0] = 0;
return NULL;