From 48b920879baf9677c8254b45b3b48ee09a269894 Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Mon, 29 May 2006 12:42:22 +0000 Subject: [w3m-dev-en 01057] delete calls to GC from wrap_GC_warn_proc to avoid deadlocks. --- main.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 439ca09..b11913f 100644 --- a/main.c +++ b/main.c @@ -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 @@ -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; -- cgit v1.2.3