]> granicus.if.org Git - php/commitdiff
- One more fopen -> PHP_FOPEN patch
authorAndi Gutmans <andi@php.net>
Tue, 4 Apr 2000 20:06:45 +0000 (20:06 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 4 Apr 2000 20:06:45 +0000 (20:06 +0000)
win32/registry.c

index 71f1922b5eab6126af5ff30f32c7946cee1570fa..43903929ca66122681797d5d57404694f3ab0aaa 100644 (file)
@@ -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;
                        }