Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Fri, 31 Jan 2003 13:08:06 -0500 From: Jason Tishler Subject: Re: shared_info::heap_chunk* questions (and potential patch) In-reply-to: <20030131150131.GC28668@redhat.com> To: cygwin-developers AT cygwin DOT com Mail-followup-to: cygwin-developers AT cygwin DOT com Message-id: <20030131180806.GB2276@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20030131141323 DOT GB736 AT tishler DOT net> <20030131150131 DOT GC28668 AT redhat DOT com> Chris, On Fri, Jan 31, 2003 at 10:01:31AM -0500, Christopher Faylor wrote: > On Fri, Jan 31, 2003 at 09:13:23AM -0500, Jason Tishler wrote: > >1. The shared_info::heap_chunk value seems to be uninitialized so > >that shared_info::heap_chunk_size() always returns without examining > >the registry for user settings. > > heap_chunk is only supposed to be read when the shared area is > uninitialized. That's why it is in the shared area rather than just a > static local variable. So, you have to exit all running cygwin apps > before that value takes effect. I did restart all Cygwin apps. However, by the time I could examine heap_chunk in gdb... Doh! > >2. There appears to be a "yank and put" typo when querying the HKLM > >value. > > Yep, that's a bug. I'll check in that version of your patch. > > Thanks. You are welcome. Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6