[w3m-dev-en 01057] delete calls to GC from wrap_GC_warn_proc to avoid deadlocks.

This commit is contained in:
Dai Sato
2006-05-29 12:42:22 +00:00
parent 44366cf8a5
commit 48b920879b
2 changed files with 10 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
2006-05-29 Dai Sato <satodai@w3m.jp>
* [w3m-dev-en 01067] Some more patches
* main.c: delete calls to GC from wrap_GC_warn_proc to avoid deadlocks.
2006-05-29 Dai Sato <satodai@w3m.jp>
* [w3m-dev-en 01067] Some more patches
@@ -8718,4 +8723,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
$Id: ChangeLog,v 1.962 2006/05/29 12:28:01 inu Exp $
$Id: ChangeLog,v 1.963 2006/05/29 12:42:22 inu Exp $

9
main.c
View File

@@ -1,4 +1,4 @@
/* $Id: main.c,v 1.251 2006/05/29 12:28:01 inu Exp $ */
/* $Id: main.c,v 1.252 2006/05/29 12:42:22 inu Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -293,10 +293,9 @@ wrap_GC_warn_proc(char *msg, GC_word arg)
for (; n > 0; --n, ++i) {
i %= sizeof(msg_ring) / sizeof(msg_ring[0]);
disp_message_nsec(Sprintf
(msg_ring[i].msg,
(unsigned long)msg_ring[i].arg)->ptr, FALSE,
1, TRUE, FALSE);
printf(msg_ring[i].msg, (unsigned long)msg_ring[i].arg);
sleep_till_anykey(1, 1);
}
lock = 0;