projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hush: fix multiple redirections of the same fd (bug 227)
[oweals/busybox.git]
/
debianutils
/
mktemp.c
diff --git
a/debianutils/mktemp.c
b/debianutils/mktemp.c
index de27d3023854f0536c117c6aa6f52828d6924923..0dcb1e8267c6a3b1b874a025678afb55715907cc 100644
(file)
--- a/
debianutils/mktemp.c
+++ b/
debianutils/mktemp.c
@@
-35,7
+35,7
@@
#include "libbb.h"
int mktemp_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
#include "libbb.h"
int mktemp_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int mktemp_main(int argc
ATTRIBUTE_UNUSED
, char **argv)
+int mktemp_main(int argc
UNUSED_PARAM
, char **argv)
{
const char *path;
char *chp;
{
const char *path;
char *chp;
@@
-43,7
+43,7
@@
int mktemp_main(int argc ATTRIBUTE_UNUSED, char **argv)
opt_complementary = "?1"; /* 1 argument max */
opt = getopt32(argv, "dqtp:", &path);
opt_complementary = "?1"; /* 1 argument max */
opt = getopt32(argv, "dqtp:", &path);
- chp = argv[optind] ? argv[optind] : xstrdup("tmp.XXXXXX
XXXX
");
+ chp = argv[optind] ? argv[optind] : xstrdup("tmp.XXXXXX");
if (opt & (4|8)) { /* -t and/or -p */
const char *dir = getenv("TMPDIR");
if (opt & (4|8)) { /* -t and/or -p */
const char *dir = getenv("TMPDIR");