[BusyBox] busybox-1.00-pre2 printf feature ?

Vladimir N. Oleynik dzo at simtreas.ru
Thu Aug 7 11:31:48 UTC 2003


Manuel.

all strtol-based function from latest stable uclibc is broken.

#include <stdlib.h>

int main(void)
{
         const char *p = "1";
         int i;

         i = atoi(p);
         return printf("%s=%d\n", i, p);
}

for Mar  3 2003 snapshot give "segmentation fault".


PS: I unsubscribing form uclibc mailllist.

I wrote:

> John,
> 
>> I grabbed busybox-unstable-20030806 but see the same behaviour for 
>> powerpc.
> 
> 
> No idea. :-(
> Please add debug info for xstrtol() and verify() from printf.c source 
> busybox applet.
> Its very strange, your libc strol("0x12", **endptr, 0) not work? :-0


--w
vodz




More information about the busybox mailing list