diff options
author | Denys Vlasenko | 2010-08-23 02:53:58 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-08-23 02:53:58 +0200 |
commit | dc04439450e5929880205d920de3a26409727563 (patch) | |
tree | 5ee9110f0cb3ddd01f2ca6a5d7da87ee4a910443 /debianutils | |
parent | 941fce89fa346e06e936d4d3b58773c836127fd7 (diff) | |
download | busybox-dc04439450e5929880205d920de3a26409727563.zip busybox-dc04439450e5929880205d920de3a26409727563.tar.gz |
Version 1.17.2: apply post 1.17.1 fixes, replace patch applet by Rob's version
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/mktemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/mktemp.c b/debianutils/mktemp.c index 2c4e196..7ce9f10 100644 --- a/debianutils/mktemp.c +++ b/debianutils/mktemp.c @@ -50,7 +50,7 @@ int mktemp_main(int argc UNUSED_PARAM, char **argv) 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 */ |