* Date: Mon, 11 Jun 2007 14:24:24 +0000 (UTC)

> Yet arithmetic ones are still with them:
>
>|-*-          
> [EMAIL PROTECTED]:/tmp$ bash -c "test '' -eq 0 ; echo \$?"
> bash: line 0: test: : integer expression expected
> 2
> [EMAIL PROTECTED]:/tmp$ dash -c "test '' -eq 0 ; echo \$?"
> 0
> [EMAIL PROTECTED]:/tmp$ busybox sh -c "test '' -eq 0 ; echo \$?"
> 0
> [EMAIL PROTECTED]:/tmp$
>|-*-

Proposed fixing in the dash: #431320

Maybe somebody interested in making dash use "long int", thus enabling
wider range on 64bit platforms, while still having same on 32bit ones?

Patch for test built-in is ready, now i'm thinking about arithmetics.
Long int is used internally, but then casted to int, that's why
changes are very small indeed.
____


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to