shared_info::heap_chunk* questions (and potential patch)

Jason Tishler
Fri Jan 31 18:00:00 GMT 2003


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.


PGP/GPG Key: or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

More information about the Cygwin-developers mailing list