[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Hook event bug
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 6 Oct 2003 09:58:21 -0300
>I've found (and fixed) a small bug in lvm.c
>The line
>lvm.c:69 > if (mask > LUA_MASKLINE) { /* instruction-hook set? */
>in traceexec caused the HOOKCOUNT to be triggered if i.e. both
>the LINE and RETURN hooks are set (and count has reached zero) even
>though it was not present in the mask.
Can you please send us a minimal program that exhibits this problem?
>minimal change to the line:
> if (mask >= LUA_MASKCOUNT) { /* instruction-hook set? */
Won't this change call the count hook to be triggered even more often?
--lhf