diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-06 21:52:38 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-06 21:52:38 +0000 |
| commit | 1b52f47cf285d5f3835bce7ad73f360bd327d4e8 (patch) | |
| tree | af5f6637517084bc7914dacfc7fda0a5799f3220 /Src/init.c | |
| parent | 23664: handle bts cache and cleancache subcommands. (diff) | |
| download | zsh-1b52f47cf285d5f3835bce7ad73f360bd327d4e8.tar zsh-1b52f47cf285d5f3835bce7ad73f360bd327d4e8.tar.gz zsh-1b52f47cf285d5f3835bce7ad73f360bd327d4e8.tar.bz2 zsh-1b52f47cf285d5f3835bce7ad73f360bd327d4e8.tar.lz zsh-1b52f47cf285d5f3835bce7ad73f360bd327d4e8.tar.xz zsh-1b52f47cf285d5f3835bce7ad73f360bd327d4e8.tar.zst zsh-1b52f47cf285d5f3835bce7ad73f360bd327d4e8.zip | |
23665: autoloading of module features and related tweaks
Diffstat (limited to 'Src/init.c')
| -rw-r--r-- | Src/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/init.c b/Src/init.c index 13078ea2e..e885c79b6 100644 --- a/Src/init.c +++ b/Src/init.c @@ -701,7 +701,7 @@ setupvals(void) close(tmppipe[1]); } - (void)addhookdefs(argzero, zshhooks, sizeof(zshhooks)/sizeof(*zshhooks)); + (void)addhookdefs(NULL, zshhooks, sizeof(zshhooks)/sizeof(*zshhooks)); init_eprog(); @@ -769,7 +769,7 @@ setupvals(void) watch = mkarray(NULL); psvar = mkarray(NULL); module_path = mkarray(ztrdup(MODULE_DIR)); - modules = znewlinklist(); + modulestab = newmoduletable(17, "modules"); linkedmodules = znewlinklist(); /* Set default prompts */ |
