zsh-workers
 help / color / mirror / code / Atom feed
From: Michael Hwang <michael.a.hwang@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] Fixed k, v flags for P expansion flag with unquoted  reference.
Date: Fri, 1 Jan 2010 11:46:39 -0500	[thread overview]
Message-ID: <22a0ef081001010846m27f9a69chb11993875ccf5219@mail.gmail.com> (raw)
In-Reply-To: <1262363710-8573-2-git-send-email-michael.a.hwang@gmail.com>

Sorry. I sent this with git send-email, and for some reason it didn't
send the accompanying message. I guess it also didn't want to reply to
my other thread.

I made a mistake in the previous update I made to my P flag patch.
This remedies that problem. Again, the changes can be pulled from the
pflag branch of my GitHub repo (git://github.com/Nomexous/zsh.git).

Michael Hwang

On Fri, Jan 1, 2010 at 11:35 AM, Michael Hwang
<michael.a.hwang@gmail.com> wrote:
> ---
>  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
>
>


      reply	other threads:[~2010-01-01 16:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-01 16:35 [PATCH]: Revamped (P) expansion flag Michael Hwang
2010-01-01 16:35 ` [PATCH] Fixed k, v flags for P expansion flag with unquoted reference Michael Hwang
2010-01-01 16:46   ` Michael Hwang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22a0ef081001010846m27f9a69chb11993875ccf5219@mail.gmail.com \
    --to=michael.a.hwang@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).