delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/14/14:45:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 14 Jul 2004 20:45:40 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cat /proc/registry/HKEY_PERFOMANCE_DATA/@ hangs
Message-ID: <20040714184540.GZ1389@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <NUTMEG8VD8o8HKHT0cW000008a4 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <Pine DOT GSO DOT 4 DOT 58 DOT 0407141408220 DOT 29800 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.58.0407141408220.29800@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.2i

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:cygwin AT cygwin DOT com
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019