1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-29 19:01:52 +02:00

fix ipkg segfaults

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2732 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-12-19 14:44:05 +00:00
parent 1934a722a9
commit d237a7de13

View File

@ -12791,7 +12791,7 @@ diff -ruN busybox-1.1.0-pre1-old/archival/libipkg/sprintf_alloc.h busybox-1.1.0-
+ +
+#include "libbb.h" +#include "libbb.h"
+ +
+#define sprintf_alloc bb_xasprintf +#define sprintf_alloc(str, fmt, args...) *str = bb_xasprintf(fmt, ## args)
+ +
+#endif +#endif
diff -ruN busybox-1.1.0-pre1-old/archival/libipkg/str_list.c busybox-1.1.0-pre1-new/archival/libipkg/str_list.c diff -ruN busybox-1.1.0-pre1-old/archival/libipkg/str_list.c busybox-1.1.0-pre1-new/archival/libipkg/str_list.c