Mercurial > hg > octave-shane
changeset 6712:24d2918bd671
[project @ 2007-06-13 09:34:13 by dbateman]
author | dbateman |
---|---|
date | Wed, 13 Jun 2007 09:34:13 +0000 |
parents | 08dd19ee4af1 |
children | 26f3d9bf9562 |
files | scripts/ChangeLog scripts/pkg/pkg.m |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2007-06-12 David Bateman <dbateman@free.fr> + + * pkg/pkg.m (pkg:load_package_dirs): Check for field "loaded" in + structure before using it. + 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> * miscellaneous/mkoctfile.m: Quote script name for call to system.
--- a/scripts/pkg/pkg.m +++ b/scripts/pkg/pkg.m @@ -1893,7 +1893,8 @@ function idx = load_package_dirs (lidx, idx, handle_deps, installed_packages) for i = lidx - if (installed_packages{i}.loaded) + if (isfield (installed_packages{i}, "loaded") && + installed_packages{i}.loaded) continue; else if (handle_deps)