]> granicus.if.org Git - php/commitdiff
- Fix realpath() logic
authorMarcus Boerger <helly@php.net>
Sat, 3 Mar 2007 19:07:51 +0000 (19:07 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 3 Mar 2007 19:07:51 +0000 (19:07 +0000)
ext/standard/file.c

index 664e4da72d498b511022aefadfd87983273f5b1c..bdd4ccb1e04ed4134339ddace17538824043405b 100644 (file)
@@ -2697,7 +2697,7 @@ PHP_FUNCTION(realpath)
 #ifdef ZTS
                if (VCWD_ACCESS(resolved_path_buff, F_OK)) {
                        RETVAL_FALSE;
-               }
+               } else
 #endif
 
                if (UG(unicode)) {