changeset 8781:f57c9fdb6836

stash directory name when loading private function
author John W. Eaton <jwe@octave.org>
date Tue, 17 Feb 2009 12:39:30 -0500
parents ea76466605ba
children 45524925bed9
files src/ChangeLog src/symtab.cc
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Feb 17 14:23:35 2009 +0100
+++ b/src/ChangeLog	Tue Feb 17 12:39:30 2009 -0500
@@ -1,3 +1,9 @@
+2009-02-17  John W. Eaton  <jwe@octave.org>
+
+	* symtab.cc
+	(symbol_table::fcn_info::fcn_info_rep::load_private_function):
+	Pass dir_name to load_fcn_from_file.
+	
 2009-02-17  Jaroslav Hajek  <highegg@gmail.com>
 
 	* DLD-FUNCTIONS/data.cc (NATIVE_REDUCTION): Add BOOL_FCN argument.
--- a/src/symtab.cc	Tue Feb 17 14:23:35 2009 +0100
+++ b/src/symtab.cc	Tue Feb 17 12:39:30 2009 -0500
@@ -296,7 +296,7 @@
 
   if (! file_name.empty ())
     {
-      octave_function *fcn = load_fcn_from_file (file_name);
+      octave_function *fcn = load_fcn_from_file (file_name, dir_name);
 
       if (fcn)
 	{