Mercurial > hg > octave-nkf
diff src/load-path.cc @ 8331:7418596586c3
load-path.cc: comment
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 18 Nov 2008 09:49:05 -0500 |
parents | 8303f0e912bc |
children | a835406e02dd |
line wrap: on
line diff
--- a/src/load-path.cc +++ b/src/load-path.cc @@ -109,6 +109,10 @@ std::string abs_name = octave_env::make_absolute (dir_name, octave_env::getcwd ()); + // FIXME -- nothing is ever removed from this cache of directory + // information, so there could be some resource problems. + // Perhaps it should be pruned from time to time. + abs_dir_cache[abs_name] = *this; } else