From 56213f42462dc91f4de5a509095dd8bfc4aeef84 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 7 Jan 2014 21:01:10 +0200 Subject: Make old extensions compile and work under Linux. --- ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext.c') diff --git a/ext.c b/ext.c index 9e17761a..60765e07 100644 --- a/ext.c +++ b/ext.c @@ -174,9 +174,9 @@ load_old_ext(SRCFILE *s, const char *init_func, const char *fini_func, NODE *obj fatal(_("`extension' is a gawk extension")); if (lib_name == NULL) - fatal(_("load_ext: received NULL lib_name")); + fatal(_("extension: received NULL lib_name")); - if ((dl = dlopen(s->fullpath, flags)) == NULL) + if ((dl = dlopen(lib_name, flags)) == NULL) fatal(_("extension: cannot open library `%s' (%s)"), lib_name, dlerror()); -- cgit v1.2.3