Problem with test applet - values above 128 are handled strange

Souf souf_oued at yahoo.fr
Thu May 24 19:58:02 UTC 2007


Hi all,

I found the source of the problem, in test.c (svn), line 322:

smallint val1, val2;

the type of these two variables must be arith_t because their values
returned by getn:

static arith_t getn(const char *s)

I attached a patch to correct this bug.

Malek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.diff
Type: text/x-patch
Size: 726 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070524/dfb1c904/attachment-0002.bin 


More information about the busybox mailing list