1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-05 06:59:42 +02:00
openwrt-packages/w3m/patches/003-GC_set_warn_proc.patch

13 lines
356 B
Diff
Raw Normal View History

2011-03-27 00:36:04 +02:00
--- a/main.c
+++ b/main.c
@@ -833,7 +833,8 @@ main(int argc, char **argv, char **envp)
mySignal(SIGPIPE, SigPipe);
#endif
- orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
+ orig_GC_warn_proc = GC_get_warn_proc();
+ GC_set_warn_proc(wrap_GC_warn_proc);
err_msg = Strnew();
if (load_argc == 0) {
/* no URL specified */