cvs: php-src /win32 registry.c

From: Date: Mon, 14 Mar 2005 12:42:05 +0000
Subject: cvs: php-src /win32 registry.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30929@lists.php.net to get a copy of this message
zeev Mon Mar 14 07:42:05 2005 EDT Modified files: /php-src/win32 registry.c Log: Merge registry fix http://cvs.php.net/diff.php/php-src/win32/registry.c?r1=1.15&r2=1.16&ty=u Index: php-src/win32/registry.c diff -u php-src/win32/registry.c:1.15 php-src/win32/registry.c:1.16 --- php-src/win32/registry.c:1.15 Sun Oct 19 09:47:35 2003 +++ php-src/win32/registry.c Mon Mar 14 07:42:05 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);

« previous php.cvs (#30929) next »