comparison 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
comparison
equal deleted inserted replaced
7748:3dc91baee089 7749:14e05160b99f
3223 { 3223 {
3224 unwind_protect_bool (autoloading); 3224 unwind_protect_bool (autoloading);
3225 autoloading = true; 3225 autoloading = true;
3226 } 3226 }
3227 3227
3228 if (! file.empty ()) 3228 fcn_file_from_relative_lookup = ! octave_env::absolute_pathname (file);
3229 { 3229
3230 fcn_file_from_relative_lookup = ! octave_env::absolute_pathname (file); 3230 file = octave_env::make_absolute (file, octave_env::getcwd ());
3231
3232 file = octave_env::make_absolute (file, octave_env::getcwd ());
3233 }
3234 3231
3235 int len = file.length (); 3232 int len = file.length ();
3236 3233
3237 if (len > 4 && file.substr (len-4, len-1) == ".oct") 3234 if (len > 4 && file.substr (len-4, len-1) == ".oct")
3238 { 3235 {