From: Andi Gutmans Date: Tue, 4 Apr 2000 20:06:45 +0000 (+0000) Subject: - One more fopen -> PHP_FOPEN patch X-Git-Tag: php-4.0RC2~489 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a15b85ca109bad97ce1895d72533cb772511bde;p=php - One more fopen -> PHP_FOPEN patch --- diff --git a/win32/registry.c b/win32/registry.c index 71f1922b5e..43903929ca 100644 --- a/win32/registry.c +++ b/win32/registry.c @@ -29,7 +29,7 @@ void UpdateIniFromRegistry(char *path) char drive_letter; /* get current working directory and prepend it to the path */ - if (!getcwd(tmp_buf, MAXPATHLEN)) { + if (!PHP_GETCWD(tmp_buf, MAXPATHLEN)) { efree(orig_path); return; }