From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23605 invoked from network); 25 Mar 2002 21:17:49 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Mar 2002 21:17:49 -0000 Received: (qmail 1402 invoked by alias); 25 Mar 2002 21:17:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16902 Received: (qmail 1379 invoked from network); 25 Mar 2002 21:17:37 -0000 X-Authentication-Warning: halden.devel.redhat.com: teg owned process doing -bs Date: Mon, 25 Mar 2002 16:16:56 -0500 (EST) From: =?ISO-8859-1?Q?Trond_Eivind_Glomsr=F8d?= Sender: teg@halden.devel.redhat.com To: zsh-workers@sunsite.dk Subject: infinite recursion Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT zsh 4.0.4, glibc 2.2.4, i686, 2.4 linux kernel Creating an alias and a function with the same name leads to recursion: [teg@halden teg]$ zsh - halden% alias xx='echo ALIAS' halden% xx ALIAS halden% xx() function> { echo FUNC } halden% which xx xx: aliased to echo ALIAS halden% xx Killed [teg@halden teg]$ (at this point, the zsh process was 500 MB large...) -- Trond Eivind Glomsrød Red Hat, Inc.