Re: Make old esc mode key timeout configurable

2006-08-11 Thread Pavel Tsekov
On Thu, 10 Aug 2006, Leonard den Ottolander wrote: On Thu, 2006-08-10 at 12:37 +0300, Pavel Tsekov wrote: Maybe you've missed a patch I submitted some months ago regarding the same issue ? Yes, so it seems. Sorry. I've asked Denis to update his patch about 1 1/2 weeks ago. Too bad *you*

Re: Make old esc mode key timeout configurable

2006-08-11 Thread Pavel Tsekov
On Thu, 10 Aug 2006, Leonard den Ottolander wrote: On Thu, 2006-08-10 at 12:37 +0300, Pavel Tsekov wrote: Maybe you've missed a patch I submitted some months ago regarding the same issue ? Yes, so it seems. Sorry. I've asked Denis to update his patch about 1 1/2 weeks ago. Too bad *you*

[patch] Accessing freed memory crash

2006-08-11 Thread Mikulas Patocka
Hi check_selects calls a callback when there is an event on handle. The callback itself can remove the event with delete_select_channel --- when it happens, check_selects accesses defunct p-next pointer and crash may happen. (I reproduced crash on this when inserting sleep(1) somewhere in

Re: Make old esc mode key timeout configurable

2006-08-11 Thread Leonard den Ottolander
Hello Pavel, On Fri, 2006-08-11 at 11:59 +0300, Pavel Tsekov wrote: At least change the name of the variable to something easier to type. Also a prefix showing that it is related to MC might be useful. Please do. Leonard. -- mount -t life -o ro /dev/dna /genetic/research

Re: [patch] Accessing freed memory crash

2006-08-11 Thread Leonard den Ottolander
Hello Mikulas, On Fri, 2006-08-11 at 01:49 +0200, Mikulas Patocka wrote: check_selects calls a callback when there is an event on handle. The callback itself can remove the event with delete_select_channel --- when it happens, check_selects accesses defunct p-next pointer and crash may