From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20141 invoked from network); 16 May 2000 16:02:16 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 May 2000 16:02:16 -0000 Received: (qmail 4708 invoked by alias); 16 May 2000 16:02:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11415 Received: (qmail 4567 invoked from network); 16 May 2000 16:01:58 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: Seg fault in matcher-list matching References: <200005161048.MAA26740@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 17 May 2000 01:03:23 +0900 In-Reply-To: <200005161048.MAA26740@beta.informatik.hu-berlin.de> (Sven Wischnowsky's message of "Tue, 16 May 2000 12:48:54 +0200 (MET DST)") Message-ID: User-Agent: T-gnus/6.14.1 (based on Gnus v5.8.3) (revision 16) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i686-pc-linux-gnu) MULE/4.0 (HANANOEN) In article <200005161048.MAA26740@beta.informatik.hu-berlin.de>, Sven Wischnowsky writes: > The new behaviour is the correct one: with `*', the `*' must not match > anchors and that's what it does now (it would have to match the `.', > of course). With `**' you get the old behaviour, which is correct, too. I see. This is a patch for _cvs to follow the new behaviour. Index: Completion/User/_cvs =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/User/_cvs,v retrieving revision 1.7 diff -u -r1.7 _cvs --- Completion/User/_cvs 2000/05/16 00:07:06 1.7 +++ Completion/User/_cvs 2000/05/16 15:59:19 @@ -584,7 +584,7 @@ fi _tags files && { - compadd -M 'r:|[:@./]=* r:|=*' "$@" $_cvs_roots || _files "$@" -/ + compadd -M 'r:|[:@./]=** r:|=**' "$@" $_cvs_roots || _files "$@" -/ } } -- Tanaka Akira