package/busybox: update to busybox-1.7.1, include upstream patches
[openwrt.git] / package / busybox / patches / 920-mktemp.patch
1 --- a/debianutils/mktemp.ci
2 +++ b/debianutils/mktemp.c
3 @@ -50,7 +50,7 @@ int mktemp_main(int argc UNUSED_PARAM, c
4 opts = getopt32(argv, "dqtp:", &path);
5
6 chp = argv[optind] ? argv[optind] : xstrdup("tmp.XXXXXX");
7 - if (chp[0] != '/' || (opts & 8))
8 + if (!strchr(chp, '/') || (opts & 8))
9 chp = concat_path_file(path, chp);
10
11 if (opts & 1) { /* -d */
This page took 0.055656 seconds and 5 git commands to generate.