(fhandler_registry::fill_filebuf): Set size of newly expanded buffer prior to
calling RegQueryValueEx.
+2004-07-14 Dave Korn <dk@artimi.com>
+
+ * fhandler_registry.cc (registry_listing): Correct typo.
+ (fhandler_registry::fill_filebuf): Set size of newly expanded buffer
+ prior to calling RegQueryValueEx.
+
2004-07-14 Corinna Vinschen <corinna@vinschen.de>
* fhandler_raw.cc (fhandler_dev_raw::raw_write): Remove buffered
"HKEY_LOCAL_MACHINE",
"HKEY_USERS",
"HKEY_DYN_DATA", // 95/98/Me
- "HKEY_PERFOMANCE_DATA", // NT/2000/XP
+ "HKEY_PERFORMANCE_DATA", // NT/2000/XP
NULL
};
{
bufalloc += 1000;
filebuf = (char *) realloc (filebuf, bufalloc);
+ size = bufalloc;
error = RegQueryValueEx (handle, value_name, NULL, &type,
(BYTE *) filebuf, &size);
if (error != ERROR_SUCCESS && error != ERROR_MORE_DATA)