1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-01 04:46:08 +02:00

23733: zmodload -LaF didn't include unloaded modules

This commit is contained in:
Peter Stephenson 2007-07-31 14:35:52 +00:00
parent 6c60a8ec79
commit eedfdb916a
3 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2007-07-31 Peter Stephenson <pws@csr.com>
* 23733: Src/module.c, Test/V01zmodload.ztst: zmodload -LaF
didn't include unloaded modules, making it a bit pointless.
* 23732: Src/exec.c, Test/B02tyepset.ztst: unknown builtin
error message was broken; test warning output was broken;
exec of zsh in new env test was broken.

View File

@ -215,7 +215,7 @@ printmodulenode(HashNode hn, int flags)
fputs(" -> ", stdout);
nicezputs(m->u.alias, stdout);
}
} else if (m->u.handle) {
} else if (m->u.handle || (flags & PRINTMOD_AUTO)) {
/*
* Loaded module.
*/

View File

@ -260,6 +260,11 @@
zmodload zsh/parameter
0d:Unload the modules loaded by this test suite
zmodload -aF zsh/zftp b:zftp
zmodload -LaF | grep zftp
0:Listing feature autoloads includes unloaded modules
>zmodload -Fa zsh/zftp b:zftp
%clean
eval "$deps"