zsh-workers
 help / color / mirror / code / Atom feed
From: "İsmail Dönmez" <ismail@namtrac.org>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: zsh-workers <zsh-workers@zsh.org>
Subject: Re: D04parameter fails on OSX
Date: Fri, 13 Apr 2012 17:31:24 +0200	[thread overview]
Message-ID: <CAJR5sYiWrcxVbjaOS+LakPYD3PF=9f=gvAgaXSDz77Xj4rxnMQ@mail.gmail.com> (raw)
In-Reply-To: <20120412202958.73820fb1@pws-pc.ntlworld.com>

[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]

Hi;

On Thu, Apr 12, 2012 at 9:29 PM, Peter Stephenson <
p.w.stephenson@ntlworld.com> wrote:

> On Thu, 12 Apr 2012 16:28:47 +0200
> İsmail Dönmez <ismail@namtrac.org> wrote:
> > ./D04parameter.ztst: starting.
> > *** /tmp/zsh.ztst.out.6163 Thu Apr 12 16:27:14 2012
> > --- /tmp/zsh.ztst.tout.6163 Thu Apr 12 16:27:14 2012
> > ***************
> > *** 3,7 ****
> > --- 3,8 ----
> >   said
> >   i
> >   will
> > + will
> >   and
> >   didJOYCE
> > Test ./D04parameter.ztst failed: output differs from expected as shown
> > above for:
> >   print -l JAMES${(u)${=:-$(echo yes yes she said yes i will yes she said
> > she will and yes she did yes)}}JOYCE
> > Was testing: New hash seive unique algorithm for arrays of more than 10
> > elements
>
> Does this help?
>
> Index: Src/params.c
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Src/params.c,v
> retrieving revision 1.179
> diff -p -u -r1.179 params.c
> --- Src/params.c        10 Apr 2012 01:17:03 -0000      1.179
> +++ Src/params.c        12 Apr 2012 19:28:33 -0000
> @@ -3532,7 +3532,7 @@ arrayuniq(char **x, int freeok)
>     }
>
>     for (it = x, write_it = x; *it;) {
> -       if (! gethashnode(ht, *it)) {
> +       if (! gethashnode2(ht, *it)) {
>            HashNode new_node = zhalloc(sizeof(struct hashnode));
>            if (!new_node) {
>                /* Oops, out of heap memory, no way to recover */
>

Yes it does, thanks a lot!

ismail

      reply	other threads:[~2012-04-13 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 14:28 İsmail Dönmez
2012-04-12 19:29 ` Peter Stephenson
2012-04-13 15:31   ` İsmail Dönmez [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='CAJR5sYiWrcxVbjaOS+LakPYD3PF=9f=gvAgaXSDz77Xj4rxnMQ@mail.gmail.com' \
    --to=ismail@namtrac.org \
    --cc=p.w.stephenson@ntlworld.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).