zsh-workers
 help / color / mirror / code / Atom feed
* Bug in ${(t)param}
@ 2015-11-24  3:07 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2015-11-24  3:07 UTC (permalink / raw)
  To: zsh-workers

Apparently this has always been wrong.

diff --git a/Src/subst.c b/Src/subst.c
index b7f8338..d9c9d24 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -2454,7 +2454,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags,
 		    val = dyncat(val, "-unique");
 		if (f & PM_HIDE)
 		    val = dyncat(val, "-hide");
-		if (f & PM_HIDE)
+		if (f & PM_HIDEVAL)
 		    val = dyncat(val, "-hideval");
 		if (f & PM_SPECIAL)
 		    val = dyncat(val, "-special");


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-24  3:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24  3:07 Bug in ${(t)param} Bart Schaefer

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).