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	Thu May 01 14:32:52 2008 -0400
+++ b/src/parse.y	Thu May 01 17:25:56 2008 -0400
@@ -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 ();