Mercurial > hg > octave-avbm
changeset 3655:6324a4994278
[project @ 2000-04-03 21:06:26 by jwe]
author | jwe |
---|---|
date | Mon, 03 Apr 2000 21:06:27 +0000 |
parents | 02ae67aa84c5 |
children | 96679fb690a4 |
files | src/ChangeLog src/dynamic-ld.cc |
diffstat | 2 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2000-04-03 John W. Eaton <jwe@bevo.che.wisc.edu> + + * dynamic-ld.cc (octave_dynamic_loader::do_load): Also fail with + error message if we don't find the mangled function name in the + file. + 2000-03-31 John W. Eaton <jwe@bevo.che.wisc.edu> * oct-stream.cc (printf_value_cache::string_value): Return string
--- a/src/dynamic-ld.cc +++ b/src/dynamic-ld.cc @@ -184,7 +184,7 @@ if (! instance) { - error ("unable to create dynamic loader object!"); + ::error ("unable to create dynamic loader object!"); retval = false; } @@ -254,8 +254,8 @@ function = oct_file.search (fcn_name, mangle_name); } else - error ("%s is not a valid shared library", - oct_file_name.c_str ()); + ::error ("%s is not a valid shared library", + oct_file_name.c_str ()); } } } @@ -267,10 +267,10 @@ = X_CAST (octave_dld_fcn_installer, function); retval = f (oct_file); - - if (! retval) - error ("failed to install dld function `%s'", fcn_name.c_str ()); } + + if (! retval) + ::error ("failed to install dld function `%s'", fcn_name.c_str ()); unwind_protect::run_frame ("octave_dynamic_loader::do_load");