aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-19 14:44:05 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-19 14:44:05 +0000
commit3132535fc0a20c66b42ce881eb04e3493febbc30 (patch)
treed89b303a3502f4e61881f471f50e18fed49be7c8
parentb6d6a279fb61d3c8e63c5501571c9089c9d82e8c (diff)
downloadupstream-3132535fc0a20c66b42ce881eb04e3493febbc30.tar.gz
upstream-3132535fc0a20c66b42ce881eb04e3493febbc30.tar.bz2
upstream-3132535fc0a20c66b42ce881eb04e3493febbc30.zip
fix ipkg segfaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2732 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/busybox/patches/911-ipkg.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/busybox/patches/911-ipkg.patch b/openwrt/package/busybox/patches/911-ipkg.patch
index 66579e4fc16..c9fc6b8b619 100644
--- a/openwrt/package/busybox/patches/911-ipkg.patch
+++ b/openwrt/package/busybox/patches/911-ipkg.patch
@@ -12791,7 +12791,7 @@ diff -ruN busybox-1.1.0-pre1-old/archival/libipkg/sprintf_alloc.h busybox-1.1.0-
+
+#include "libbb.h"
+
-+#define sprintf_alloc bb_xasprintf
++#define sprintf_alloc(str, fmt, args...) *str = bb_xasprintf(fmt, ## args)
+
+#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