mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
4541402f83
(see http://lists.freebsd.org/pipermail/freebsd-questions/2005-October/102547.html) PR: - Submitted by: "Rob" <spamrefuse@yahoo.com>
13 lines
336 B
Plaintext
13 lines
336 B
Plaintext
--- src/dlmodule.c.orig 3 Jul 2004 20:47:45 -0000
|
|
+++ src/dlmodule.c 27 Oct 2005 11:08:30 -0000
|
|
@@ -89,6 +89,9 @@
|
|
return RETURN_FAILURE;
|
|
}
|
|
|
|
+ /* clear error indicator */
|
|
+ dlerror();
|
|
+
|
|
newkey.data = dlsym(handle, dl_function);
|
|
if ((error = (char *) dlerror()) != NULL) {
|
|
errmsg(error);
|