zsh-workers
 help / color / mirror / code / Atom feed
From: "Trond Eivind Glomsrød" <teg@redhat.com>
To: zsh-workers@sunsite.dk
Subject: infinite recursion
Date: Mon, 25 Mar 2002 16:16:56 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0203251613390.17486-100000@halden.devel.redhat.com> (raw)

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.


             reply	other threads:[~2002-03-25 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-25 21:16 Trond Eivind Glomsrød [this message]
2002-03-25 21:29 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0203251613390.17486-100000@halden.devel.redhat.com \
    --to=teg@redhat.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).