Stefan Monnier skrev:
it before incrementing interrupt_input_blocked in the #define for
BLOCK_INPUT fixes the bug!

Are you sure it fixes it?  It may just hide it by slightly changing
the timing.


The bug occurs because revoke_input_signal is called when it should not be. Somehow the counter used by UNBLOCK/BLOCK_INPUT gets the wrong value, becoming negative.

By using sigblock/sigunblock we make sure that counter isn't touched, so it fixes this particular case. However, why the counter gets the wrong value is still not known.

        Jan D.



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to