Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
3.0.8 math bug?
- X-seq: zsh-workers 12672
- From: Dan Nelson <dnelson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: 3.0.8 math bug?
- Date: Thu, 17 Aug 2000 12:54:41 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Why does evaluating a non-numeric variable cause 3.0.8 to consume all
available RAM and then exit to the parent shell? At least 3.1.9
doesn't completely exit, but I would expect invalid variables to
evaluate to 0 just like unset variables do.
(dan@dan)/tmp> zsh -f
dan% echo $ZSH_VERSION
3.0.8
dan% a=a
dan% (( a ))
zsh: fatal error: out of memory
(dan@dan)/tmp>
(dan@dan)/tmp> zsh31 -f
dan% echo $ZSH_VERSION
3.1.9
dan% a=a
dan% (( a ))
zsh: math recursion limit exceeded
dan%
--
Dan Nelson
dnelson@xxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author