* infinite recursion
@ 2002-03-25 21:16 Trond Eivind Glomsrød
2002-03-25 21:29 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Trond Eivind Glomsrød @ 2002-03-25 21:16 UTC (permalink / raw)
To: zsh-workers
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: infinite recursion
2002-03-25 21:16 infinite recursion Trond Eivind Glomsrød
@ 2002-03-25 21:29 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2002-03-25 21:29 UTC (permalink / raw)
To: Trond Eivind Glomsrød; +Cc: zsh-workers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 251 bytes --]
On Mon, 25 Mar 2002, [ISO-8859-1] Trond Eivind Glomsrød wrote:
> Creating an alias and a function with the same name leads to recursion:
This is known, not unintentional, and described in the FAQ. Peter even
updated the entry about it this month.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-25 21:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-25 21:16 infinite recursion Trond Eivind Glomsrød
2002-03-25 21:29 ` Bart Schaefer
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).