changeset 18300:515187b51411

Fix bug #40666 on Windows platforms with low resolution timers. * symtab.cc (out_of_date_check): Use '<=' when comparing the last time a function was checked to the last time the path was updated. With low resolution timers it is sometimes the case that the two times are equal even though the path has been changed and the function needs to be re-read from disk.
author Rik <rik@octave.org>
date Fri, 17 Jan 2014 18:32:00 -0800
parents 15db54c4a572
children 57d5bd8700df
files libinterp/corefcn/symtab.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/symtab.cc	Thu Jan 16 19:12:36 2014 +0000
+++ b/libinterp/corefcn/symtab.cc	Fri Jan 17 18:32:00 2014 -0800
@@ -207,7 +207,7 @@
 
               bool relative = check_relative && fcn->is_relative ();
 
-              if (tc < Vlast_prompt_time
+              if (tc <= Vlast_prompt_time
                   || (relative && tc < Vlast_chdir_time))
                 {
                   bool clear_breakpoints = false;