Mercurial > hg > octave-max
changeset 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 | 34fde4755a0f |
files | src/load-path.cc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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