Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: universal argument regression
- X-seq: zsh-workers 21973
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: universal argument regression
- Date: Wed, 2 Nov 2005 10:08:38 +0000
- In-reply-to: <m33bmf3d76.fsf@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <m33bmf3d76.fsf@xxxxxxxxxxxx>
Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
> It looks like the universal prefix argument is
> ignored in the latest CVS sources.
This wasn't hard to spot when I started looking...
Index: Src/Zle/zle_misc.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_misc.c,v
retrieving revision 1.31
diff -u -r1.31 zle_misc.c
--- Src/Zle/zle_misc.c 1 Nov 2005 03:26:52 -0000 1.31
+++ Src/Zle/zle_misc.c 2 Nov 2005 10:07:07 -0000
@@ -532,11 +532,11 @@
* of digits. We are assuming ASCII is a subset of the multibyte
* encoding.
*/
- if (idigit(lastchar))
+ if (!idigit(lastchar))
return 1;
#else
/* allow metafied as well as ordinary digits */
- if (idigit(lastchar & 0x7f))
+ if (!idigit(lastchar & 0x7f))
return 1;
#endif
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author