1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

27994: better error for failed parameter autoload

This commit is contained in:
Peter Stephenson 2010-06-03 13:38:17 +00:00
parent c617e5a07b
commit 099dc207fa
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-06-03 Peter Stephenson <pws@csr.com>
* 27994: Src/params.c: better error message when failing to
autoload parameter.
2010-05-03 Frank Terbeck <ft@bewatermyfriend.org>
* Holger Weiss: 27977: Completion/Unix/Command/_git: shouldn't
@ -13194,5 +13199,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4989 $
* $Revision: 1.4990 $
*****************************************************

View file

@ -461,7 +461,8 @@ getparamnode(HashTable ht, const char *nam)
* stuff to go ahead with the autoload stub with
* no error status we're in for all sorts of mayhem?
*/
zerr("unknown parameter: %s", nam);
zerr("autoloading module %s failed to define parameter: %s", mn,
nam);
}
}
return hn;