From f0720eddc0b23478da9e2b865e3b49589e7e3dca Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sat, 17 Mar 2007 09:06:32 -0400 Subject: [PATCH] Load module symbols immediately (RTLD_NOW). --- src/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui.c b/src/ui.c index a308228..02c38c8 100644 --- a/src/ui.c +++ b/src/ui.c @@ -188,7 +188,7 @@ static int open_module(char *filename, int *idx) } } - if ((m = dlopen(filename, RTLD_LAZY)) == NULL) { + if ((m = dlopen(filename, RTLD_NOW)) == NULL) { warnx("%s", dlerror()); chaining = 0; chain_output = 1; -- 2.11.4.GIT