This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shared_info::heap_chunk* questions (and potential patch)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]