[x86] adjust image defaults for KVM
[openwrt.git] / package / busybox / patches / 000-upstream-mktemp.patch
1 --- a/debianutils/mktemp.c
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.043764 seconds and 5 git commands to generate.