summaryrefslogtreecommitdiff
path: root/ext/posix/posix.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-30 22:56:34 +0000
committerAndi Gutmans <andi@php.net>2000-03-30 22:56:34 +0000
commit9c3d6304dd7fe870278a7ad8688e40a9645f609c (patch)
treec1ac0b30f40abbb832d9ae2eadc492079a7f8d7e /ext/posix/posix.c
parent9df7df3293302198a29b1657682dba49ce02aa6b (diff)
downloadphp-git-9c3d6304dd7fe870278a7ad8688e40a9645f609c.tar.gz
- Hopefully got most of them. We also need a chdir_file function like
for Apache.
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r--ext/posix/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index 5d8e2c38c1..38a9e12e63 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -568,7 +568,7 @@ PHP_FUNCTION(posix_getcwd)
char buffer[MAXPATHLEN];
char *p;
- p = getcwd(buffer, MAXPATHLEN);
+ p = PHP_GETCWD(buffer, MAXPATHLEN);
if (!p) {
php_error(E_WARNING, "posix_getcwd() failed with '%s'",
strerror(errno));