diff options
author | Andi Gutmans <andi@php.net> | 2000-03-30 22:38:50 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-03-30 22:38:50 +0000 |
commit | f9547241d56b4b9b5ecc81600e21ab55854bc7ba (patch) | |
tree | 53935b78b78b28ab6529137e6a5ee26b35d7e7a2 /main/safe_mode.c | |
parent | 69a16e9693ab9dee17f97926f256137f9203e571 (diff) | |
download | php-git-f9547241d56b4b9b5ecc81600e21ab55854bc7ba.tar.gz |
- Fix another bug in session.c
- Start using the new PHP_GETCWD() and co. macros
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r-- | main/safe_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c index ab026376ba..b072552787 100644 --- a/main/safe_mode.c +++ b/main/safe_mode.c @@ -88,7 +88,7 @@ PHPAPI int php_checkuid(const char *fn, int mode) { duid = sb.st_uid; } else { s = emalloc(MAXPATHLEN+1); - if (!getcwd(s,MAXPATHLEN)) { + if (!PHP_GETCWD(s,MAXPATHLEN)) { php_error(E_WARNING, "Unable to access current working directory"); return(0); } |