Citation (with leading "> " of each line) from article:
<fxqu29tn3tz.wl@hrsrpf1.feclab.furuno.co.jp>
by Tsutomu Okada ($B2,ED(B $BJY(B) <okada@furuno.co.jp> :
> AIX $B$H(B linux $B0J30$G$O!"(BGC_current_warn_proc $B$,L$Dj5A$K$J$k$N$G0J2<$N$h(B
$B$*$d!"$H$$$&$3$H$G(Bgc/gc.h$B$r8+D>$7$F$_$?$i!"@_DjMQ$N@lMQ(BAPI$B$r;H$o$J$-$c(B
$B$$$1$J$$$h$&$G$9$M!#(B
$B"-$O2,It$5$s$N(Bw3m-0.1.11-pre-kokb18$B$+$i$N:9J,$G$9!#(B
-- $B?\F#(B $B@60l(B <suto@ks-and-ks.ne.jp> http://pub.ks-and-ks.ne.jp/pgp-public-key.html
--- main.c 2000/10/30 06:42:08 1.1.1.1.2.2 +++ main.c 2000/10/31 04:11:54 1.1.1.1.2.3 @@ -131,6 +131,19 @@ static int option_assigned = 0; extern void parse_proxy(void); +static GC_warn_proc orig_GC_warn_proc = NULL; + +static void +wrap_GC_warn_proc(char *msg, GC_word arg) +{ + if (fmInitialized) + disp_message_nsec(Sprintf(msg, (unsigned long)arg)->ptr, FALSE, 2, TRUE, FALSE); + else if (orig_GC_warn_proc) + orig_GC_warn_proc(msg, arg); + else + fprintf(stderr, msg, (unsigned long)arg); +} + int MAIN(int argc, char **argv, char **envp) { @@ -598,6 +611,7 @@ if (line_str) { _goLine(line_str); } + orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc); for (;;) { /* event processing */ if (n_event_queue > 0) {
This archive was generated by hypermail 2b29 : Mon Oct 30 2000 - 22:26:42 CST