1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00

21939: new UNMETACHECK() was too ruthless

This commit is contained in:
Peter Stephenson 2005-10-26 10:06:47 +00:00
parent 60a99da054
commit d7a37f48fd
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2005-10-26 Peter Stephenson <pws@csr.com>
* 21939: Src/Zle/zle_thingy.c: new UNMETACHECK() was too ruthless.
2005-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 21936: Src/Zle/zle_refresh.c: fix one bug when deleting

View file

@ -358,8 +358,6 @@ bin_zle(char *name, char **args, Options ops, UNUSED(int func))
struct opn const *op, *opp;
int n;
UNMETACHECK();
/* select operation and ensure no clashing arguments */
for(op = opns; op->o && !OPT_ISSET(ops,STOUC(op->o)); op++) ;
if(op->o)
@ -659,6 +657,8 @@ bin_zle_call(char *name, char **args, UNUSED(Options ops), UNUSED(char func))
return 1;
}
UNMETACHECK();
while (*args && **args == '-') {
char *num;
if (!args[0][1] || args[0][1] == '-') {