add busybox printf patch from #2021
authorFelix Fietkau <nbd@openwrt.org>
Mon, 9 Jul 2007 03:05:18 +0000 (03:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 9 Jul 2007 03:05:18 +0000 (03:05 +0000)
SVN-Revision: 7895

package/busybox/patches/280-printf.patch [new file with mode: 0644]

diff --git a/package/busybox/patches/280-printf.patch b/package/busybox/patches/280-printf.patch
new file mode 100644 (file)
index 0000000..d8442dc
--- /dev/null
@@ -0,0 +1,18 @@
+Index: busybox-1.4.2/coreutils/printf.c
+===================================================================
+--- busybox-1.4.2.orig/coreutils/printf.c      2007-07-09 03:00:31.808788500 +0200
++++ busybox-1.4.2/coreutils/printf.c   2007-07-09 03:00:42.257441500 +0200
+@@ -60,11 +60,11 @@
+ static void conv_strtoul(char *arg, void *result)
+ {
+-      *(unsigned long*)result = bb_strtoul(arg, NULL, 10);
++      *(unsigned long*)result = bb_strtoul(arg, NULL, 0);
+ }
+ static void conv_strtol(char *arg, void *result)
+ {
+-      *(long*)result = bb_strtol(arg, NULL, 10);
++      *(long*)result = bb_strtol(arg, NULL, 0);
+ }
+ static void conv_strtod(char *arg, void *result)
+ {