From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5291 invoked from network); 5 Jan 2004 14:29:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Jan 2004 14:29:41 -0000 Received: (qmail 24130 invoked by alias); 5 Jan 2004 14:29:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19335 Received: (qmail 24102 invoked from network); 5 Jan 2004 14:29:28 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 5 Jan 2004 14:29:28 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 5 Jan 2004 14:29:28 -0000 Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Mon, 5 Jan 2004 14:20:23 +0000 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 5 Jan 2004 14:19:02 +0000 To: Zsh hackers list Subject: Re: zsh crashes on completeion of utf-8 file-names. In-reply-to: ""Zvi Har'El""'s message of "Sun, 21 Dec 2003 16:44:15 +0200." <20031221144415.GA9673@fermat.math.technion.ac.il> Date: Mon, 05 Jan 2004 14:17:07 +0000 Message-ID: <7460.1073312227@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 05 Jan 2004 14:19:02.0835 (UTC) FILETIME=[DE857830:01C3D396] "Zvi Har'El" wrote: > I know that zsh-4.1.1 still doesn't support utf-8, but as realeased it could > do completion on utf-8 file names. However, I recently updated from the cvs > and now zsh crashes on completions of names, when I have two candidates of th > e > form RA and RB, and I hit R. This happens when R=U+05E8 (0xd7 0xa8) or > U+05E9 (0xd7 0xa9) and A and B are U+05D0 and U+05D1. I managed to reproduce this with zsh -f on a directory containing only the files touch $'\xd7\xa8\xd7\x90' touch $'\xd7\xa8\xd7\x91' As you say, it shouldn't be possible to have a Meta immediately before the last character. If there was a Meta or a NUL in the input it should have been xored with 32 and a Meta stuck in front of it. This suggests the bug is actually earlier than ztrsub. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************