Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
suffix removal fix
- X-seq: zsh-workers 2872
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Z Shell workers mailing list)
- Subject: suffix removal fix
- Date: Wed, 5 Feb 1997 00:17:15 +0000 (GMT)
-----BEGIN PGP SIGNED MESSAGE-----
My suffix removal rewrite has a bug. When menu completing parameter
names (after a $), zsh will always think it has a / suffix to remove,
regardless of whether it actually added one or not. This causes parts
of the word to disappear, and in some cases ends in a SEGV.
-zefram
*** Src/Zle/zle_tricky.c 1997/01/29 03:25:48 1.13
--- Src/Zle/zle_tricky.c 1997/02/04 14:49:20
***************
*** 3307,3313 ****
cs = menuend;
inststrlen((char *)&singlec, 1, 1);
insc = 1;
! if (complexpect || singlec != ' ')
addedsuffix = menuinsc = 1;
inscs = cs;
if (!menuwe)
--- 3307,3313 ----
cs = menuend;
inststrlen((char *)&singlec, 1, 1);
insc = 1;
! if (singlec != ' ')
addedsuffix = menuinsc = 1;
inscs = cs;
if (!menuwe)
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMvdORnD/+HJTpU/hAQGewgP8Clda0ILJ0gu9R8VMu7H1SMncQ9dsJ2oS
Cnwi6EcOfUpS0oS0yAcPw0PET3E/sG/WR6tea5VAhhNMmoPga/rM4oYwMxriBSVb
T999JiDad3/rNKBewk1PCFBw9+owqIaAXUXB5DtEEx0TPgdFg8RlW7lUeh7acn/N
9sIj9zeRDkk=
=QHr9
-----END PGP SIGNATURE-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author