hush/coreutils
Denys Vlasenko ab19ede655 tidy up O_NONBLOCK usage. use libbb functions in stty.
Added O_RDONLY where improves readability. Note: O_RDONLY == 0,
so it is there even if not specified.

function                                             old     new   delta
stty_main                                           1289    1235     -54

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-11 21:05:42 +01:00
..
libcoreutils *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
basename.c basename: fix error code. again. deja vu feeling... 2008-11-06 15:13:33 +00:00
cal.c *: remove last function calls to isspace 2009-10-22 22:28:08 +02:00
cat.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
catv.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chgrp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
chmod.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
chown.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
chroot.c switch_root: improve behavior on error; improve help text 2009-04-21 20:40:51 +00:00
cksum.c cksum, printenv: report errors via exitcode 2008-11-11 22:59:41 +00:00
comm.c comm: almost total rewrite; add testsuite 2008-07-15 06:45:14 +00:00
Config.in dd: speed measurement. optional. 2009-10-14 00:29:28 +02:00
cp.c cp: revert a recent buggy change, and add a comment why it's wrong 2009-10-08 01:32:44 +02:00
cut.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
date.c date: handle long options 2009-10-23 16:07:37 +02:00
dd.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
df.c df: trivial 64-bit fix 2009-10-21 23:28:20 +02:00
dirname.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
dos2unix.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
du.c libbb/human_readable.c: shrink; and reduce bss usage 2009-10-13 01:25:09 +02:00
echo.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
env.c env: support -uVAR=VAL 2008-11-11 21:32:39 +00:00
expand.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
expr.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
false.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
fold.c fold: fix a corner case. By Tomas Heinrich (heinrich.tomas AT gmail.com) 2009-11-04 15:31:19 +01:00
fsync.c fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com) 2009-06-18 08:20:02 +02:00
head.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
hostid.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
id_test.sh id: coreutils compat by Tito + test script 2008-10-29 00:27:31 +00:00
id.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
install.c install: compat fix for mode of created files. 2009-06-15 18:13:51 +02:00
Kbuild fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com) 2009-06-18 08:20:02 +02:00
length.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
ln.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
logname.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
ls.c ls: fix "ls | cat" to not show "total NNN" header 2009-10-23 16:22:25 +02:00
md5_sha1_sum.c sha256,sha512: new applets. +4.9kb 2008-11-10 13:32:50 +00:00
mkdir.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
mkfifo.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
mknod.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mv.c mv: fix a case when we move dangling symlink 2008-07-12 11:22:19 +00:00
nice.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
nohup.c - update my name. No obj-code changes ;) 2008-09-25 12:13:34 +00:00
od_bloaty.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
od.c *: optimize most of isXXXXX() macros 2009-10-23 03:16:08 +02:00
printenv.c cksum, printenv: report errors via exitcode 2008-11-11 22:59:41 +00:00
printf.c printf: (allegedly) fix testsuite failure 2009-06-27 00:07:23 +02:00
pwd.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
readlink.c readlink: support -n, -v, -s and -q too if support for -f is requested 2009-06-12 13:16:21 +02:00
realpath.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
rm.c ls: warning fix 2009-03-27 17:22:00 +00:00
rmdir.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
seq.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
sleep.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
sort.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
split.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
stat.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
stty.c tidy up O_NONBLOCK usage. use libbb functions in stty. 2009-11-11 21:05:42 +01:00
sum.c fix up potential printf's with unsafe format strings 2009-10-24 17:47:56 +02:00
sync.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tac.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tail.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
tee.c ash,hush: add TODO for rare build failure 2008-11-25 01:36:03 +00:00
test_ptr_hack.c add forgotten files. I am forgetting it all the time :( 2008-04-22 18:07:41 +00:00
test.c test: use index_in_strings 2009-09-12 22:41:57 +02:00
touch.c touch: implement -t TIME (needed for testsuite) 2009-07-18 04:49:20 +02:00
tr.c tr: support -C as synonym to -c 2009-03-15 16:41:55 +00:00
true.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tty.c tty: use defines rather than constants 2009-10-29 21:37:48 +01:00
uname.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
uniq.c uniq: shave off whole 10 bytes off, oh my 2009-08-31 05:15:21 +02:00
usleep.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uudecode.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
uuencode.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
wc.c *: remove last function calls to isspace 2009-10-22 22:28:08 +02:00
who.c remove a few superfluous includes 2008-11-25 13:33:11 +00:00
whoami.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
yes.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00