commit 2819cfca3add4b53fcaa09d87bf1933f9f27790a
parent 0880c3d1b36819168ade3e366629fbfdd8e45f2f
Author: inu <inu>
Date: Mon, 29 May 2006 12:42:22 +0000
[w3m-dev-en 01057] delete calls to GC from wrap_GC_warn_proc to avoid deadlocks.
Diffstat:
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,6 +1,11 @@
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
* main.c: fix unsafe usages of SIGWINCH handler.
2006-05-29 Dai Sato <satodai@w3m.jp>
diff --git a/main.c b/main.c
@@ -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;