Re: dash arithmetic expression bug (1 << 1 + 1 | 1)

2010-03-09 Thread Herbert Xu
On Tue, Mar 09, 2010 at 10:33:08PM +0100, Jilles Tjoelker wrote: > > Apart from the compliance issue, it is also bad to expose implementation > details like the exact meaning of 'noeval' to scripts such that they may > come to depend on them. Patch applied. Thanks a lot! -- Visit Openswan at ht

Re: dash arithmetic expression bug (1 << 1 + 1 | 1)

2010-03-08 Thread Herbert Xu
On Tue, Mar 09, 2010 at 12:38:54AM +0100, Jilles Tjoelker wrote: > > Noncommutative operators break more easily, for example > Input: > echo $((3 - 3 * 3 - 3)) > Expected result: > -9 > Actual result: > -3 This should fix it: commit 9655c1ac5646bde1007ecba7c6271d3aa98f294b Author: Her