mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-18 00:51:07 +02:00
zsh-workers/7449
This commit is contained in:
parent
9867c4091e
commit
5460b0d4b8
2 changed files with 8 additions and 2 deletions
|
@ -1228,8 +1228,10 @@ getconddef(int inf, char *name, int autol)
|
|||
load_module(p->module);
|
||||
f = 0;
|
||||
p = NULL;
|
||||
} else
|
||||
break;
|
||||
} else {
|
||||
deleteconddef(p);
|
||||
return NULL;
|
||||
}
|
||||
} else
|
||||
#endif
|
||||
break;
|
||||
|
|
|
@ -292,6 +292,10 @@ getparamnode(HashTable ht, char *nam)
|
|||
if (!load_module(mn))
|
||||
return NULL;
|
||||
hn = gethashnode2(ht, nam);
|
||||
if (((Param) hn) == pm) {
|
||||
pm->flags &= ~PM_AUTOLOAD;
|
||||
zwarnnam(nam, "autoload failed", NULL, 0);
|
||||
}
|
||||
}
|
||||
return hn;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue