Mercurial > hg > octave-nkf
diff src/parse.y @ 7749:14e05160b99f
reference counting for functions loaded from shared libraries
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 01 May 2008 17:25:56 -0400 |
parents | a059b5679fbb |
children | 5c6c6f4803c8 |
line wrap: on
line diff
--- a/src/parse.y +++ b/src/parse.y @@ -3225,12 +3225,9 @@ autoloading = true; } - if (! file.empty ()) - { - fcn_file_from_relative_lookup = ! octave_env::absolute_pathname (file); - - file = octave_env::make_absolute (file, octave_env::getcwd ()); - } + fcn_file_from_relative_lookup = ! octave_env::absolute_pathname (file); + + file = octave_env::make_absolute (file, octave_env::getcwd ()); int len = file.length ();