diff src/load-path.cc @ 10907:6105ed2db9d7

load_path::dir_info::initialize: clear method_file_map before updating file list
author John W. Eaton <jwe@octave.org>
date Mon, 23 Aug 2010 15:57:37 -0400
parents 89f4d7e294cc
children 27efbc0733f2
line wrap: on
line diff
--- a/src/load-path.cc
+++ b/src/load-path.cc
@@ -117,6 +117,8 @@
 
   if (fs)
     {
+      method_file_map.clear ();
+
       dir_mtime = fs.mtime ();
       dir_time_last_checked = octave_time ();