Mail Archives: cygwin/2004/07/14/14:30:18
> -----Original Message-----
> From: cygwin-owner On Behalf Of Dave Korn
> Sent: 14 July 2004 18:26
> Well, the thread's more-or-less over now, I would have thought.
Heh. It occurs to me to correct that typo while we're at it. Should have
done that first time round.
dk AT mace /usr/build/src/winsup/cygwin> cvs -q -z9 diff -pu
Index: fhandler_registry.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/fhandler_registry.cc,v
retrieving revision 1.24
diff -p -u -r1.24 fhandler_registry.cc
--- fhandler_registry.cc 9 Feb 2004 04:04:23 -0000 1.24
+++ fhandler_registry.cc 14 Jul 2004 18:27:49 -0000
@@ -48,7 +48,7 @@ static const char *registry_listing[] =
"HKEY_LOCAL_MACHINE",
"HKEY_USERS",
"HKEY_DYN_DATA", // 95/98/Me
- "HKEY_PERFOMANCE_DATA", // NT/2000/XP
+ "HKEY_PERFORMANCE_DATA", // NT/2000/XP
NULL
};
@@ -575,6 +575,7 @@ fhandler_registry::fill_filebuf ()
{
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)
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -