Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Fixed k, v flags for P expansion flag with unquoted reference.
- X-seq: zsh-workers 27550
- From: Michael Hwang <michael.a.hwang@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Fixed k, v flags for P expansion flag with unquoted reference.
- Date: Fri, 1 Jan 2010 11:35:10 -0500
- Cc: Michael Hwang <michael.a.hwang@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=vvrFKP0GqfVBUjTDnAKjXIDK9MDM9xQcEzgGhBvJRTY=; b=OOUuwbtTxi++qNrfWv7DdDIpUmQ3h11kh4JpL7WbGTn5NzD2SQC5LYD6qpqMLbPmgv tblBytx7WFv0TBaU+DYK4i2rm0ei3Wu3i+Z0LRAeUar1nHWr7DvKVUEGouTfncONxGy0 EE3tcV6Ie2uozMfPuZVNDdcQQvXAZYADaA45k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=omJ8zfZhl9xdn0k7x1QBDSLA2Md0rRxFSJ1E6tyswC61P/L7rFOg+vCkwMxVXsvNdt hzHdyD12nc0deVFldeHPYz3getvtZwpo8Dr5HI8fqBWobZvRWBQ5ofImadFWOWJrRhat rIyPQrL91/GA0QMMuW+KatTo4xM5g3+/95oz8=
- In-reply-to: <1262363710-8573-1-git-send-email-michael.a.hwang@xxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1262363710-8573-1-git-send-email-michael.a.hwang@xxxxxxxxx>
---
Src/subst.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Src/subst.c b/Src/subst.c
index 730fcd2..4579812 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -2030,7 +2030,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
if ((v && !v->isarr) || (!v && !isarr)) {
/* Reference is not an array. Just retrieve value. */
- v = fetchvalue(&vbuf, &val, 0, 0);
+ v = fetchvalue(&vbuf, &val, 0, hkeys | hvals);
} else if (v && v->isarr) {
/* Reference is an array, stored in v. Convert to val/aval. */
isarr = v->isarr;
--
1.6.2.5
Messages sorted by:
Reverse Date,
Date,
Thread,
Author