summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.17.0/busybox-1.17.0-mktemp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.17.0/busybox-1.17.0-mktemp.patch')
-rw-r--r--package/busybox/busybox-1.17.0/busybox-1.17.0-mktemp.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/package/busybox/busybox-1.17.0/busybox-1.17.0-mktemp.patch b/package/busybox/busybox-1.17.0/busybox-1.17.0-mktemp.patch
deleted file mode 100644
index 023a7cfc2..000000000
--- a/package/busybox/busybox-1.17.0/busybox-1.17.0-mktemp.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -urpN busybox-1.17.0/debianutils/mktemp.c busybox-1.17.0-mktemp/debianutils/mktemp.c
---- busybox-1.17.0/debianutils/mktemp.c 2010-06-24 04:40:43.000000000 +0200
-+++ busybox-1.17.0-mktemp/debianutils/mktemp.c 2010-07-12 03:42:48.000000000 +0200
-@@ -50,7 +50,8 @@ int mktemp_main(int argc UNUSED_PARAM, c
- opts = getopt32(argv, "dqtp:", &path);
-
- chp = argv[optind] ? argv[optind] : xstrdup("tmp.XXXXXX");
-- chp = concat_path_file(path, chp);
-+ if (chp[0] != '/' || (opts & 8))
-+ chp = concat_path_file(path, chp);
-
- if (opts & 1) { /* -d */
- if (mkdtemp(chp) == NULL)