From: Dan Nelson <dnelson@emsphone.com>
To: zsh-workers@sunsite.auc.dk
Subject: 3.0.8 math bug?
Date: Thu, 17 Aug 2000 12:54:41 -0500 [thread overview]
Message-ID: <20000817125441.A20946@dan.emsphone.com> (raw)
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@emsphone.com
next reply other threads:[~2000-08-17 17:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-17 17:54 Dan Nelson [this message]
2000-08-17 20:53 ` Bart Schaefer
2000-08-18 7:00 Sven Wischnowsky
2000-08-18 8:56 ` Peter Stephenson
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=20000817125441.A20946@dan.emsphone.com \
--to=dnelson@emsphone.com \
--cc=zsh-workers@sunsite.auc.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).