summaryrefslogtreecommitdiff
path: root/win32/registry.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-04 20:06:45 +0000
committerAndi Gutmans <andi@php.net>2000-04-04 20:06:45 +0000
commit2a15b85ca109bad97ce1895d72533cb772511bde (patch)
tree41572e5dcc8300debefcf2a263fd277d17b59478 /win32/registry.c
parent44e178e0891ab019b480a4621f22f27a899e2aeb (diff)
downloadphp-git-2a15b85ca109bad97ce1895d72533cb772511bde.tar.gz
- One more fopen -> PHP_FOPEN patch
Diffstat (limited to 'win32/registry.c')
-rw-r--r--win32/registry.c2
1 files changed, 1 insertions, 1 deletions
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;
}