From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2527 invoked from network); 22 Jan 2002 13:51:19 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 22 Jan 2002 13:51:19 -0000 Received: (qmail 14676 invoked by alias); 22 Jan 2002 13:51:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16487 Received: (qmail 14663 invoked from network); 22 Jan 2002 13:51:10 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: (#q) In-reply-to: "Peter Stephenson"'s message of "Tue, 22 Jan 2002 12:28:29 GMT." <13177.1011702509@csr.com> Date: Tue, 22 Jan 2002 13:50:43 +0000 Message-ID: <11038.1011707443@csr.com> From: Peter Stephenson Bug, already. Forgets existing qualifiers if the new one doesn't introduce any local ones, e.g. (#qoL)(#q...), in which the oL is handled globally. Index: Src/glob.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/glob.c,v retrieving revision 1.23 diff -u -r1.23 glob.c --- Src/glob.c 2002/01/22 12:40:26 1.23 +++ Src/glob.c 2002/01/22 13:47:31 @@ -1537,7 +1537,7 @@ newquals->next = quals; quals = qn; } - } else + } else if (newquals) quals = newquals; } q = parsepat(str); -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************