* suffix removal fix
@ 1997-02-05 0:17 Zefram
0 siblings, 0 replies; only message in thread
From: Zefram @ 1997-02-05 0:17 UTC (permalink / raw)
To: Z Shell workers mailing list
-----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-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-02-05 0:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-02-05 0:17 suffix removal fix Zefram
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).