Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

[PHP4BETA] cvs: /php4 php_virtual_cwd.c From: Andi Gutmans (andi <email protected>)
Date: 04/21/00

andi Fri Apr 21 07:46:55 2000 EDT

  Modified files:
    /php4 php_virtual_cwd.c
  Log:
  - Fix last fix for Windows
  
  
Index: php4/php_virtual_cwd.c
diff -u php4/php_virtual_cwd.c:1.35 php4/php_virtual_cwd.c:1.36
--- php4/php_virtual_cwd.c:1.35 Fri Apr 21 07:42:20 2000
+++ php4/php_virtual_cwd.c Fri Apr 21 07:46:24 2000
@@ -345,7 +345,7 @@
                 return virtual_chdir(path);
         }
 
- if (length == COPY_WHEN_ABSOLUTE) { /* Also use trailing slash if this is root */
+ if (length == COPY_WHEN_ABSOLUTE && IS_ABSOLUTE_PATH(path)) { /* Also use trailing slash if this is absolute */
                 length++;
         }
         temp = (char *) malloc(length+1);

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>