busybox/coreutils
Andrej Valek ecac9853f2 mktemp: add --tmpdir option
Make mktemp more compatible with coreutils.
- add "--tmpdir" option
- add long variants for "d,q,u" options

Note: Upstream ca-certificate update script started using this option.

function                                             old     new   delta
.rodata                                           104179  104219     +40
mktemp_main                                          186     194      +8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 48/0)               Total: 48 bytes

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-10-08 21:02:56 +02:00
..
libcoreutils
basename.c basename: implement -a and -s SUFFIX 2021-09-09 23:45:13 +02:00
cat.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
chgrp.c *: --help tweaks 2021-06-14 20:47:20 +02:00
chmod.c libbb: eliminate a static data array in bb_mode_string() 2021-09-17 01:18:31 +02:00
chown.c *: --help tweaks 2021-06-14 20:47:20 +02:00
chroot.c
cksum.c crc32: code shrink for !CKSUM config 2021-06-22 10:24:06 +02:00
comm.c
Config.src
cp.c cp: fix build failure with long options disabled 2021-08-15 18:26:56 +02:00
cut.c cut: add toybox-compatible options -O OUTSEP, -D, -F LIST 2021-07-20 16:29:22 +02:00
date.c date,touch: allow timezone offsets in dates 2021-09-17 00:11:30 +02:00
dd.c dd: tweak --help 2021-08-15 23:05:30 +02:00
df.c df: "support" -H as an alias of -h 2021-09-11 00:47:03 +02:00
dirname.c
dos2unix.c
du.c du: support -b "apparent size" 2021-06-16 17:45:28 +02:00
echo.c *: --help tweaks 2021-06-14 20:47:20 +02:00
env.c env: implement -0 2021-06-17 13:39:46 +02:00
expand.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
expr.c *: --help tweaks 2021-06-13 01:08:48 +02:00
factor.c factor: fix comment 2020-12-23 02:03:04 +01:00
false.c
fold.c *: --help text tweaks 2021-04-14 15:15:45 +02:00
head.c head,tail: trim --help text 2021-06-02 04:01:10 +02:00
hostid.c
id_test.sh
id.c *: --help tweaks 2021-06-14 20:47:20 +02:00
install.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
Kbuild.src
link.c
ln.c help text: replace [OPTIONS] with actual options (if not too long) 2020-12-13 22:34:05 +01:00
logname.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
ls.c libbb: clarify what bb_mode_string() generates 2021-09-17 17:10:38 +02:00
md5_sha1_sum.c sha3sum: fix --help: -a does not depend on FEATURE_MD5_SHA1_SUM_CHECK 2020-11-27 15:55:46 +01:00
mkdir.c help text tweaks 2020-12-13 19:04:19 +01:00
mkfifo.c
mknod.c Fix mknod compilation on the FreeBSD 2021-01-04 13:28:28 +01:00
mktemp.c mktemp: add --tmpdir option 2021-10-08 21:02:56 +02:00
mv.c cp,mv: fix -t DIR option 2021-06-25 00:23:29 +02:00
nice.c
nl.c nl: ensure '-b n' option displays file content 2021-02-02 17:37:41 +01:00
nohup.c
nproc.c nproc: code shrink 2021-06-24 13:47:49 +02:00
od_bloaty.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
od.c
paste.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
printenv.c
printf.c timeout,top,watch,ping: parse NN.N fractional duration in locales with other separators 2021-03-23 13:50:02 +01:00
pwd.c
readlink.c
realpath.c *: --help text tweaks 2021-04-14 15:15:45 +02:00
rm.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
rmdir.c help text tweaks 2020-12-13 19:04:19 +01:00
seq.c
shred.c shred: with -u, unlink file even if it is zero length 2021-06-20 13:48:21 +02:00
shuf.c shuf: add a TODO, code shrink 2021-09-07 22:51:42 +02:00
sleep.c timeout,top,watch,ping: parse NN.N fractional duration in locales with other separators 2021-03-23 13:50:02 +01:00
sort.c uniq: support -z 2021-06-17 00:36:13 +02:00
split.c decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 2020-11-30 13:03:03 +01:00
stat.c libbb: eliminate a static data array in bb_mode_string() 2021-09-17 01:18:31 +02:00
stty.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
sum.c
sync.c fsync,sync: merge into one source module 2019-04-02 14:55:29 +02:00
tac.c
tail.c tail: do not lose the tail of old file if new file (-F) is detected 2021-06-02 05:17:44 +02:00
tee.c tee: do not intercept SIGPIPE 2019-10-07 14:25:45 +02:00
test_ptr_hack.c
test.c *: generalize "const trick" 2021-10-07 15:22:35 +02:00
timeout.c help text tweaks 2020-12-18 04:12:51 +01:00
touch.c date,touch: allow timezone offsets in dates 2021-09-17 00:11:30 +02:00
tr.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
true.c
truncate.c *: --help text tweaks 2021-04-14 15:15:45 +02:00
tty.c *: more --help tweaks, mostly expanding ts --help 2021-06-13 03:12:09 +02:00
uname.c *: more --help tweaks, mostly expanding ts --help 2021-06-13 03:12:09 +02:00
uniq.c uniq: really support -z 2021-06-24 23:37:06 +02:00
unlink.c
usleep.c
uudecode.c base32/64: accept -i "skip bad chars" option (currently in effect unconditionally) 2021-06-13 23:58:17 +02:00
uuencode.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
wc.c *: --help text tweaks 2021-04-14 15:15:45 +02:00
who.c *: more --help tweaks 2021-06-15 10:00:18 +02:00
whoami.c
yes.c *: more --help tweaks, mostly expanding ts --help 2021-06-13 03:12:09 +02:00