busybox/coreutils
Denys Vlasenko 4c20d9f2b0 extend fractional duration support to "top -d N.N" and "timeout"
function                                             old     new   delta
parse_duration_str                                     -     168    +168
sleep_for_duration                                     -     157    +157
top_main                                             885     928     +43
timeout_main                                         269     312     +43
handle_input                                         571     614     +43
duration_suffixes                                      -      40     +40
sfx                                                   40       -     -40
sleep_main                                           364      79    -285
------------------------------------------------------------------------------
(add/remove: 4/1 grow/shrink: 3/1 up/down: 494/-325)          Total: 169 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-08-03 18:17:12 +02:00
..
libcoreutils whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
basename.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
cat.c cat: fix cat -e and cat -v erroneously numbering 1st line 2018-04-29 14:05:43 +02:00
chgrp.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
chmod.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
chown.c chown: fix a mistake in opt_complementary change 2017-12-31 17:59:16 +01:00
chroot.c make 17 state-changing execing applets (ex: "nice PROG ARGS") noexec 2017-08-04 19:55:01 +02:00
cksum.c cksum: code shrink 2018-02-01 11:44:52 +01:00
comm.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
cp.c cp: placate gcc8 2018-08-01 18:29:41 +02:00
cut.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
date.c date: maybe_set_utc only once 2017-10-05 12:53:25 +02:00
dd.c dd: add 'fullblock' iflag 2018-01-25 19:00:19 +01:00
df.c df: do "rootfs" check sooner 2018-02-23 17:08:32 +01:00
dirname.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
dos2unix.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
du.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
echo.c do not use `a' quoting style in comments 2017-08-02 14:26:33 +02:00
env.c env: -u option fails due to typo 2017-12-25 21:36:05 +01:00
expand.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
expr.c expr: make it NOEXEC 2017-08-07 23:23:18 +02:00
factor.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
false.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
fold.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
fsync.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
head.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
hostid.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
id_test.sh id: coreutils compat by Tito + test script 2008-10-29 00:27:31 +00:00
id.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
install.c install: fix "-D -t DIR1/DIR2/DIR3" creating only DIR1/DIR2, closes 11106 2018-06-22 18:59:10 +02:00
Kbuild.src shells: make hush test optional, rename ASH_BUILTIN_foo -> ASH_foo 2017-01-10 15:13:30 +01:00
link.c libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1 2017-08-10 11:52:42 +02:00
ln.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
logname.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
ls.c ls: When -h is passed, the total should also be in human units 2018-08-01 19:47:15 +02:00
md5_sha1_sum.c md5sum: use config help text similar to other "sum" tools 2018-03-08 12:49:39 +01:00
mkdir.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
mkfifo.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
mknod.c mknod: better --help, much clearer code 2018-01-08 11:22:37 +01:00
mktemp.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
mv.c libbb: rename bb_ask -> bb_ask_noecho, bb_ask_confirmation -> bb_ask_y_confirmation 2018-04-07 15:08:12 +02:00
nice.c libbb.h: always include sys/resource.h 2018-04-08 17:23:27 +02:00
nl.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
nohup.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
nproc.c nproc: implement --all --ignore=N 2018-07-06 16:19:04 +02:00
od_bloaty.c od: move address_fmt[] from data to globals. 8 less bytes in data section 2018-02-22 12:14:55 +01:00
od.c do not use `a' quoting style in comments 2017-08-02 14:26:33 +02:00
paste.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
printenv.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
printf.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
pwd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
readlink.c realpath,readlink -f: coreutils compat, closes 11021 2018-05-24 17:31:00 +02:00
realpath.c realpath,readlink -f: coreutils compat, closes 11021 2018-05-24 17:31:00 +02:00
rm.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
rmdir.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
seq.c NOFORK fixes 2017-08-02 16:37:39 +02:00
shred.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
shuf.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
sleep.c extend fractional duration support to "top -d N.N" and "timeout" 2018-08-03 18:17:12 +02:00
sort.c sort: add -V "sort version" 2018-07-08 01:37:54 +02:00
split.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
stat.c stat: fix a typo: s/romfs/ramfs/, closes 10876 2018-03-31 02:45:22 +02:00
stty.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
sum.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
sync.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
tac.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
tail.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
tee.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
test_ptr_hack.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
test.c shell: add comments about [[, no code changes 2018-04-10 15:25:41 +02:00
timeout.c extend fractional duration support to "top -d N.N" and "timeout" 2018-08-03 18:17:12 +02:00
touch.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
tr.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
true.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
truncate.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
tty.c new NOFORKs: clear, nproc, tty, uname, arch, unlink, which 2017-08-03 03:29:32 +02:00
uname.c randomconfig fixes 2017-12-31 17:30:02 +01:00
uniq.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
unlink.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
usleep.c NOFORK fixes 2017-08-02 16:37:39 +02:00
uudecode.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
uuencode.c whitespace and comment format fixes, no code changes 2017-10-05 14:40:24 +02:00
wc.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
who.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
whoami.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
yes.c NOFORK fixes 2017-08-02 16:37:39 +02:00