[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancements to "minor-mode-map-alist" functionality.

From: Kim F. Storm
Subject: Re: Enhancements to "minor-mode-map-alist" functionality.
Date: 12 May 2002 01:16:09 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

Richard Stallman <address@hidden> writes:

>     When it tries to grow the cmm_maps and cmm_modes arrays, it
>     starts out by increasing cmm_size to the desired size, but if
>     reallocation fails, cmm_maps and/or cmm_modes are not resized, but
>     cmm_size keeps the new value ... meaning that on next invocation,
>     current_minor_maps happily believes that cmm_maps and cmm_modes
>     were resized -- and writes to unallocated memory.
>     I'll fix that.
> Thanks!
> Someone (was it you?) mentioned a bug of failing to gcpro in some
> of that code.  Can someone work on fixing that?

Yes, I noticed that a lot of code in keymap.c lacked GCPROs because
some of the basic functions may now GC (e.g. due to autoloading keymaps).

I don't currently have time to wade through the keymap code adding GCPROs.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]