diff -aur old/main.c new/main.c --- old/main.c 2013-01-14 18:16:14.216210053 -0600 +++ new/main.c 2013-01-14 18:17:28.816220559 -0600 @@ -833,7 +833,8 @@ 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 */