From 528728488025df01388ab8e84bccfa62fbaf88e9 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 15 Aug 2010 20:28:05 +0000 Subject: package/busybox: add missing bits from 1.17.1 update (mostly config stuff), rename upstream patches so they're applied first git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22665 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/patches/000-upstream-mktemp.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/busybox/patches/000-upstream-mktemp.patch (limited to 'package/busybox/patches/000-upstream-mktemp.patch') diff --git a/package/busybox/patches/000-upstream-mktemp.patch b/package/busybox/patches/000-upstream-mktemp.patch new file mode 100644 index 000000000..a7727ca81 --- /dev/null +++ b/package/busybox/patches/000-upstream-mktemp.patch @@ -0,0 +1,11 @@ +--- a/debianutils/mktemp.c ++++ b/debianutils/mktemp.c +@@ -50,7 +50,7 @@ int mktemp_main(int argc UNUSED_PARAM, c + opts = getopt32(argv, "dqtp:", &path); + + chp = argv[optind] ? argv[optind] : xstrdup("tmp.XXXXXX"); +- if (chp[0] != '/' || (opts & 8)) ++ if (!strchr(chp, '/') || (opts & 8)) + chp = concat_path_file(path, chp); + + if (opts & 1) { /* -d */ -- cgit v1.2.3