[BusyBox] Arithmetic non correctly parsed in the new cvs ash.c ?

Vladimir N. Oleynik dzo at simtreas.ru
Thu Sep 12 09:52:03 UTC 2002


Lionel,

WOW! I lost 2 hour for find this strange problem...
I see your .config and reproduce your found error.
But this humour :)
# CONFIG_ASH_MATH_SUPPORT is not set

Oh. Hard support work really :(

--w
vodz

> 
> I used the development version. Today's tarball from the cvs directory.
> 
> Vladimir N. Oleynik wrote:
> 
> > Lionel,
> >
> >
> >>I mistyped the email... You would have corrected it yourself anyway :-)
> >>I  meant:
> >>
> >>I get an error on this:
> >>
> >>#!/busybox/bin/sh
> >>
> >>VAR=$((10))
> >>
> >>at execution I get:
> >>
> >>./try: 3: Syntax error: Missing '))'
> >>
> >
> > Have you this problem with development version?
> > I can`t reproduce this error with busybox-0.61pre version.
> >
> > 1) arich from busybox-0.60 CVS have stack overflow problem
> > 2) also arich all version have problem for you example - returned
> > zero for all "empty" expression :) .
> > I found this in current time and generate patch later.
> >
> > I not found time support stable version :((



More information about the busybox mailing list