changeset 6613:b85dd243601d

[project @ 2007-05-11 17:56:32 by jwe]
author jwe
date Fri, 11 May 2007 17:56:32 +0000
parents 89f3a84a0da1
children 3a53d0f3e0e4
files src/ChangeLog src/variables.cc
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed May 09 21:17:45 2007 +0000
+++ b/src/ChangeLog	Fri May 11 17:56:32 2007 +0000
@@ -1,3 +1,8 @@
+2007-05-11  John W. Eaton  <jwe@octave.org>
+
+	* variables.cc (symbol_out_of_date):
+	Always check for files that have gone missing.
+
 2007-05-08 Michael Weitzel <michael.weitzel@uni-siegen.de>
 
 	* DLD-FUNCTIONS/symrcm.cc: New function for Reverse Cuthill-McKee
--- a/src/variables.cc	Wed May 09 21:17:45 2007 +0000
+++ b/src/variables.cc	Fri May 11 17:56:32 2007 +0000
@@ -1037,10 +1037,10 @@
 		      file = octave_env::make_absolute (file, octave_env::getcwd ());
 		    }
 
-		  if (relative && file.empty ())
+		  if (file.empty ())
 		    {
-		      // Can't see this function from current
-		      // directory, so we should clear it.
+		      // Can't see this function now, so we should
+		      // clear it.
 
 		      sr->clear ();