busybox/coreutils
Denys Vlasenko 4f74bb6059 fsync,sync: make them similar
sync: add O_NOCTTY
fsync: drop O_NOATIME, add O_NONBLOCK, set exitcode to 1 if fsync() fails,
    update --help message to be similar to sync.
both: reformat code to minimize "diff -u sync.c fsync.c":
    in particular, they use same open() flags now

function                                             old     new   delta
fsync_main                                           126     130      +4
packed_usage                                       33316   33317      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 5/0)                 Total: 5 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2019-04-02 14:39:56 +02:00
..
libcoreutils whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
basename.c config: update size information 2018-12-28 03:20:17 +01:00
cat.c cat,nl: fix handling of open errors 2018-11-29 11:44:10 +01:00
chgrp.c config: update size information 2018-12-28 03:20:17 +01:00
chmod.c config: update size information 2018-12-28 03:20:17 +01:00
chown.c config: update size information 2018-12-28 03:20:17 +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 config: update size information 2018-12-28 03:20:17 +01:00
comm.c config: update size information 2018-12-28 03:20:17 +01:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
cp.c config: update size information 2018-12-28 03:20:17 +01:00
cut.c config: update size information 2018-12-28 03:20:17 +01:00
date.c date: improve help text for -D 2019-01-09 12:58:52 +01:00
dd.c dd: add 'oflag=append' 2019-02-14 13:01:46 +01:00
df.c config: update size information 2018-12-28 03:20:17 +01:00
dirname.c config: update size information 2018-12-28 03:20:17 +01:00
dos2unix.c config: update size information 2018-12-28 03:20:17 +01:00
du.c du: don't count duplicate arguments. Closes 5288 2019-02-19 17:08:39 +01:00
echo.c config: more tweaks 2018-12-28 17:52:43 +01:00
env.c config: update size information 2018-12-28 03:20:17 +01:00
expand.c config: update size information 2018-12-28 03:20:17 +01:00
expr.c config: update size information 2018-12-28 03:20:17 +01:00
factor.c config: update size information 2018-12-28 03:20:17 +01: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 fsync,sync: make them similar 2019-04-02 14:39:56 +02:00
head.c config: update size information 2018-12-28 03:20:17 +01:00
hostid.c config: update size information 2018-12-28 03:20:17 +01:00
id_test.sh id: coreutils compat by Tito + test script 2008-10-29 00:27:31 +00:00
id.c config: update size information 2018-12-28 03:20:17 +01: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 config: update size information 2018-12-28 03:20:17 +01:00
ln.c config: update size information 2018-12-28 03:20:17 +01:00
logname.c config: update size information 2018-12-28 03:20:17 +01:00
ls.c ls: make -i compatible with coreutils: don't follow symlink by default 2019-01-04 18:55:53 +01:00
md5_sha1_sum.c config: update size information 2018-12-28 03:20:17 +01:00
mkdir.c config: update size information 2018-12-28 03:20:17 +01:00
mkfifo.c config: update size information 2018-12-28 03:20:17 +01:00
mknod.c config: update size information 2018-12-28 03:20:17 +01:00
mktemp.c config: update size information 2018-12-28 03:20:17 +01:00
mv.c config: update size information 2018-12-28 03:20:17 +01:00
nice.c config: update size information 2018-12-28 03:20:17 +01:00
nl.c config: update size information 2018-12-28 03:20:17 +01:00
nohup.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
nproc.c config: update size information 2018-12-28 03:20:17 +01: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: update size information 2018-12-28 03:20:17 +01:00
printenv.c config: update size information 2018-12-28 03:20:17 +01:00
printf.c config: update size information 2018-12-28 03:20:17 +01:00
pwd.c config: update size information 2018-12-28 03:20:17 +01:00
readlink.c config: update size information 2018-12-28 03:20:17 +01:00
realpath.c config: update size information 2018-12-28 03:20:17 +01:00
rm.c config: update size information 2018-12-28 03:20:17 +01:00
rmdir.c config: update size information 2018-12-28 03:20:17 +01:00
seq.c config: update size information 2018-12-28 03:20:17 +01:00
shred.c config: update size information 2018-12-28 03:20:17 +01:00
shuf.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
sleep.c sleep: support "inf" 2019-01-07 15:20:56 +01:00
sort.c config: update size information 2018-12-28 03:20:17 +01:00
split.c config: update size information 2018-12-28 03:20:17 +01:00
stat.c config: update size information 2018-12-28 03:20:17 +01:00
stty.c top: tweak --help 2019-02-27 16:45:39 +01:00
sum.c config: update size information 2018-12-28 03:20:17 +01:00
sync.c fsync,sync: make them similar 2019-04-02 14:39:56 +02:00
tac.c config: update size information 2018-12-28 03:20:17 +01:00
tail.c config: update size information 2018-12-28 03:20:17 +01:00
tee.c config: update size information 2018-12-28 03:20:17 +01:00
test_ptr_hack.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
test.c config: update size information 2018-12-28 03:20:17 +01:00
timeout.c config: update size information 2018-12-28 03:20:17 +01:00
touch.c config: update size information 2018-12-28 03:20:17 +01:00
tr.c config: update size information 2018-12-28 03:20:17 +01:00
true.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
truncate.c config: update size information 2018-12-28 03:20:17 +01:00
tty.c config: update size information 2018-12-28 03:20:17 +01:00
uname.c config: update size information 2018-12-28 03:20:17 +01:00
uniq.c config: update size information 2018-12-28 03:20:17 +01:00
unlink.c config: update size information 2018-12-28 03:20:17 +01:00
usleep.c config: update size information 2018-12-28 03:20:17 +01:00
uudecode.c config: update size information 2018-12-28 03:20:17 +01:00
uuencode.c config: update size information 2018-12-28 03:20:17 +01:00
wc.c config: update size information 2018-12-28 03:20:17 +01:00
who.c config: update size information 2018-12-28 03:20:17 +01:00
whoami.c config: update size information 2018-12-28 03:20:17 +01:00
yes.c config: update size information 2018-12-28 03:20:17 +01:00