zeev Mon Mar 14 07:42:56 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/win32 registry.c
Log:
MFH
http://cvs.php.net/diff.php/php-src/win32/registry.c?r1=1.15&r2=1.15.2.1&ty=u
Index: php-src/win32/registry.c
diff -u php-src/win32/registry.c:1.15 php-src/win32/registry.c:1.15.2.1
--- php-src/win32/registry.c:1.15 Sun Oct 19 09:47:35 2003
+++ php-src/win32/registry.c Mon Mar 14 07:42:55 2005
@@ -38,6 +38,9 @@
drive_letter = tmp_buf[0];
cwd++;
}
+ while (*cwd == '\\' || *cwd == '/') {
+ cwd++;
+ }
path = (char *)
emalloc(2+strlen(cwd)+1+strlen(orig_path)+1);
sprintf(path, "%c\\%s\\%s", drive_letter, cwd,
orig_path);
efree(orig_path);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php