Root/w3m/patches/003-GC_set_warn_proc.patch

Source at commit a34928054aa62fa9d064c4cb5a4bb33e716ac9ad created 6 years 6 months ago.
By kyak, w3m: update to 0.5.3, rework patches
1--- a/main.c
2+++ b/main.c
3@@ -833,7 +833,8 @@ main(int argc, char **argv, char **envp)
4     mySignal(SIGPIPE, SigPipe);
5 #endif
6 
7- orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
8+ orig_GC_warn_proc = GC_get_warn_proc();
9+ GC_set_warn_proc(wrap_GC_warn_proc);
10     err_msg = Strnew();
11     if (load_argc == 0) {
12     /* no URL specified */
13

Archive Download this file



interactive