Problem with test applet - values above 128 are handled strange

Alexander Griesser alexander.griesser at lkh-vil.or.at
Thu May 24 12:46:21 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks!

I wanted to give the latest svn snapshot of busybox a try and
encountered the following strange issue:

tuxx at vi-edv003:~/busybox/busybox$ ./busybox sh
$ [ 6 -le 6 ] && echo ok
ok
$ [ 127 -le 6 ] && echo ok
$ [ 128 -le 6 ] && echo ok
ok
$ exit
tuxx at vi-edv003:~/busybox/busybox$

So to me it seems as if there's some kind of magic limit above the
value of 127. Can someone else reproduce this?

regards,
- --
Alexander Griesser (Netzwerkadministration)
E-Mail: alexander.griesser at lkh-vil.or.at | Web: http://www.lkh-vil.or.at
KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach
Tel.:   +43 4242 208 3061 | Fax.:   +43 4242 971 3061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGVYkd66HVD6KUm1oRAtg5AKCVlHQPFQfxXj085xvFGlTaSEPLbQCfde3m
ggEOTQoNBB1uW/uWv8TRbCQ=
=ElYA
-----END PGP SIGNATURE-----



More information about the busybox mailing list