cvs: php-src /win32 registry.c

From: Date: Wed, 02 May 2007 10:16:48 +0000
Subject: cvs: php-src /win32 registry.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-44131@lists.php.net to get a copy of this message
dmitry Wed May 2 10:16:48 2007 UTC Modified files: /php-src/win32 registry.c Log: Fixed bug #41192 (Per Directory Values only work for one key) http://cvs.php.net/viewvc.cgi/php-src/win32/registry.c?r1=1.20&r2=1.21&diff_format=u Index: php-src/win32/registry.c diff -u php-src/win32/registry.c:1.20 php-src/win32/registry.c:1.21 --- php-src/win32/registry.c:1.20 Sun Apr 22 10:25:51 2007 +++ php-src/win32/registry.c Wed May 2 10:16:48 2007 @@ -135,11 +135,12 @@ new_path[path_len] = '/'; memcpy(new_path+path_len+1, name, name_len+1); zend_str_tolower(new_path, path_len+name_len+1); + name_len += path_len+1; } else { memcpy(new_path, name, name_len+1); zend_str_tolower(new_path, name_len); } - if (LoadDirectory(directories, subkey, new_path, path_len+name_len, ht)) { + if (LoadDirectory(directories, subkey, new_path, name_len, ht)) { ret = 1; } RegCloseKey(subkey);

« previous php.cvs (#44131) next »