changeset 3033:968e85a82e25

[project @ 1997-06-05 16:50:05 by jwe]
author jwe
date Thu, 05 Jun 1997 16:50:06 +0000
parents 564e3c213cff
children ad0e94b6784c
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,5 +1,8 @@
 Thu Jun  5 01:42:39 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_UNDEFINED.
+
 	* Makefile.in (stamp-picdir): Delete.
 	(pic): New target.  Don't worry so much about creating pic
 	directory only when it is really needed.
--- a/src/dynamic-ld.cc
+++ b/src/dynamic-ld.cc
@@ -159,7 +159,10 @@
 
   if (handle)
     {
-      int status = shl_findsym (&handle, nm, TYPE_PROCEDURE, &retval);
+      // Don't use TYPE_PROCEDURE here.  The man page says that future
+      // versions of HP-UX may not support it.
+
+      int status = shl_findsym (&handle, nm, TYPE_UNDEFINED, &retval);
 
       if (status < 0)
 	{