changeset 2994:b7c0d83d105c

[project @ 1997-05-22 18:45:32 by jwe]
author jwe
date Thu, 22 May 1997 18:45:33 +0000
parents 91589ab98e37
children 953ce4558485
files src/ChangeLog src/dynamic-ld.cc
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+Thu May 22 13:32:55 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* dynamic-ld.cc (octave_shl_load_dynamic_loader::resolve_reference): 
+	Call shl_findsym with type set to TYPE_PROCEDURE.  Pass the
+	address of the pointer we want to define.
+
 Wed May 21 16:30:25 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* DLD-FUNCTIONS/time.cc (extract_tm): Avoid memory leak in dealing
--- a/src/dynamic-ld.cc
+++ b/src/dynamic-ld.cc
@@ -159,7 +159,7 @@
 
   if (handle)
     {
-      int status = shl_findsym (&handle, nm, TYPE_UNDEFINED, retval);
+      int status = shl_findsym (&handle, nm, TYPE_PROCEDURE, &retval);
 
       if (status < 0)
 	{