Re: BUG: press twice f1



Nerijus Baliunas wrote:
On Fri, 22 Jul 2005 11:16:27 +0200 Roland Illig <roland illig gmx de> wrote:


When I press f1 twice I mc receives sig11. The problem is in help_show():

Fixed in HEAD. Will port that to PRE, too.

It does not occur in PRE, because the "[How to use help]" node is always found there. In HEAD it was not found because I had been sloppy when doing "trivial changes". I had not seen the global variable "data" when introducing a parameter of the same name. :(


Hmm, it occurs in mc from FC4, and I believe it is based on some snapshot
of PRE.

That probably means that the help context "[How to use help]" cannot be found. Please do the following:

#define WATCH_PTR(p) \
    fprintf(stderr, "in function %s: " #p "=%p\n", __func__, p)

and then, after every assigment to currentpoint, call this macro.

The code in help.c is quite broken with regards to null pointer checks.

Roland



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