From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7474 invoked by alias); 12 Mar 2012 07:44:56 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30346 Received: (qmail 26406 invoked from network); 12 Mar 2012 07:44:46 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <120311205638.ZM21245@torch.brasslantern.com> Date: Sun, 11 Mar 2012 20:56:38 -0700 In-reply-to: Comments: In reply to Mikael Magnusson "Re: Certain unicode in hostname breaks with zsh 4.3.17" (Mar 11, 10:28pm) References: <120311141935.ZM12005@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Certain unicode in hostname breaks with zsh 4.3.17 MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Mar 11, 10:28pm, Mikael Magnusson wrote: } } 0x308C0x306B0x306A% echo $HOST } zsh: no matches found: \M-c\M-^B|0x306B0x306A Hm. hostnam = (char *)zalloc(256); gethostname(hostnam, 256); setsparam("HOST", ztrdup(hostnam)); zfree(hostnam, 256); Apparently that ztrdup(hostnam) should be a metafy(hostnam, -1, META_DUP). Should that get done with LOGNAME, MACHTYPE, OSTYPE, and VENDOR as well? None of that explains the OP's crash, though. The above code excerpt has not changed in at least a dozen years, and he says 4.3.15 did not show a problem.