diff options
author | Dai Sato <satodai@w3m.jp> | 2006-05-29 12:42:22 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2006-05-29 12:42:22 +0000 |
commit | 48b920879baf9677c8254b45b3b48ee09a269894 (patch) | |
tree | b04d13ef97d15d07f1687aacd18ca086fbcbeb39 /main.c | |
parent | [w3m-dev-en 01067] fix unsafe usage of SIGWINCH handler. (diff) | |
download | w3m-48b920879baf9677c8254b45b3b48ee09a269894.tar.gz w3m-48b920879baf9677c8254b45b3b48ee09a269894.zip |
[w3m-dev-en 01057] delete calls to GC from wrap_GC_warn_proc to avoid deadlocks.
Diffstat (limited to '')
-rw-r--r-- | main.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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; |