On Jul 14 14:29, Igor Pechtchanski wrote: > Since Dave is not subscribed to cygwin-developers anyway, I'll continue > this here. More below.
Ok. That's why I wrote "mildly OT". > Can't for a while. Can you do me a favor and submit this as a fix, if you > have a copyright assignment for Cygwin? If it makes you feel better, feel > free to mention me in the ChangeLog as well. David has no copyright assignment on file so far. But that doesn't matter since the below is definitely a "trivial" patch. Just a ChangeLog entry, please. Corinna > > Index: winsup/cygwin/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 > > --- winsup/cygwin/fhandler_registry.cc 9 Feb 2004 04:04:23 -0000 1.24 > > +++ winsup/cygwin/fhandler_registry.cc 14 Jul 2004 16:47:53 -0000 > > @@ -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) -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/