Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Wordcode bug with $functions
- X-seq: zsh-workers 9517
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Wordcode bug with $functions
- Date: Tue, 01 Feb 2000 20:53:26 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I'm getting a segmentation fault with `print $functions', even patched up
to date (supposedly). I presume this is a new wordcode feature. This is
reproducible with my addpath function by doing `which addpath'. I narrowed
it down: actually, this form doesn't give a crash, but it does show more
clearly what's going wrong.
By the way, I found this by doing `set' on its own. This dumps out the
whole of every function when zsh/parameter is loaded. Yuck.
% fn() {
a() { true; }
b() { true; }
}
% which fn
unknown word code in gettext2()
fn () {
a () {
true
}
}
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author