Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#283358: echo $((##)) overflows buffer
- X-seq: zsh-workers 20588
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#283358: echo $((##)) overflows buffer
- Date: Sun, 28 Nov 2004 11:10:30 -0500
- Cc: Falk Hueffner <falk@xxxxxxxxxx>, 283358-forwarded@xxxxxxxxxxxxxxx
- In-reply-to: <E1CYOp6-00082T-PR@juist>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <E1CYOp6-00082T-PR@juist>
> falk@juist:~% echo $((##))
> zsh: bad math expression: operator expected at `T\n^E ^A'
>
> I also get "operator expected at `Œ'" sometimes. It seems to access
> uninitialized memory.
Can you track this down with gdb?
> This also makes a test fail:
> (http://buildd.debian.org/fetch.php?&pkg=zsh&ver=4.2.1-12&arch=alpha&stamp=1101580428&file=log&as=raw)
>
> ./../Test/C01arith.ztst: starting.
> Test ../../Test/C01arith.ztst failed: bad status 1, expected 0 from:
> print $((##))
> Error output:
> (eval):1: bad math expression: operator expected at `T\n^E ^A'
> Was testing: ## without following character
> ../../Test/C01arith.ztst: test failed.
>
> I think you should have the build fail if a test fails.
Can't do this; at least one test fails on every architecture.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author