diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-08-15 20:28:05 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-08-15 20:28:05 +0000 |
commit | 2c57634be3dfb83d76cc63e6fddb486fc725ecb7 (patch) | |
tree | 610afdd6036831458db468e283b1710083c3aa6d /package/busybox/patches/000-upstream-mktemp.patch | |
parent | 26f323dcf5afee0a88f1545aba04556aec6b9ae1 (diff) | |
download | upstream-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.tar.gz upstream-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.tar.bz2 upstream-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.zip |
package/busybox: add missing bits from 1.17.1 update (mostly config stuff), rename upstream patches so they're applied first
SVN-Revision: 22665
Diffstat (limited to 'package/busybox/patches/000-upstream-mktemp.patch')
-rw-r--r-- | package/busybox/patches/000-upstream-mktemp.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/000-upstream-mktemp.patch b/package/busybox/patches/000-upstream-mktemp.patch new file mode 100644 index 0000000000..a7727ca81f --- /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 */ |