cvs: php-src(PHP_5_0) /win32 registry.c
| From: | Zeev Suraski | Date: | Mon, 14 Mar 2005 12:42:56 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /win32 registry.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30930@lists.php.net to get a copy of this message | ||
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);