[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RP] [PATCH] avoid infinite loop after using redo
From: |
Bernhard R. Link |
Subject: |
[RP] [PATCH] avoid infinite loop after using redo |
Date: |
Sat, 11 Mar 2006 14:07:13 +0100 |
User-agent: |
Mutt/1.5.9i |
The attached patch fixes two problems together causing
an infinite loop when quiting ratpoison in some cases:
src/actions.c pop_frame_undo and pop_frame_redo do
not change the value of rp_num_frame_undos
and
src/main.c clean_up does try to free rp_num_frame_undos
undo steps, causing an infinite loop if there are not that
many left.
(Perhaps better than this patch would be to create something
actiong like clear_frame_redo and being called from here).
Hochachtungsvoll,
Bernhard R. Link
undoloop.patch
Description: Text document
- [RP] [PATCH] avoid infinite loop after using redo,
Bernhard R. Link <=