busybox/coreutils
Denys Vlasenko 79b021d738 tail: read only a portion of a file if it's huge. closes bug 551
function                                             old     new   delta
tail_main                                           1494    1526     +32
tail_read                                            125     129      +4

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-10 03:16:18 +02: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 cal: remove lone static data variable. -4 bytes. coreutils 2008-07-22 10:10:13 +00: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 tail: implement -F 2009-07-22 00:31:27 +02:00
cp.c cd: "support" -v by ignoring it 2009-03-20 14:04:00 +00:00
cut.c - update my name. No obj-code changes ;) 2008-09-25 12:13:34 +00:00
date.c touch: implement -d --date (our own testsuite needs that) 2009-07-18 03:41:29 +02:00
dd.c dd: conv=noerror should skip read errors using lseek (bug 539) 2009-08-05 23:16:27 +02:00
df.c fix mountpoint test to not prevemt mkfs_xxx from making image in any file 2009-07-18 16:22:26 +02:00
dirname.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
dos2unix.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
du.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
echo.c ash: dont allow e.g. exec <&10 to attach to stript's fd! 2008-07-25 13:34:05 +00: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 expr: a bit more robust handling of regexps with groups (closes bug 87) 2009-03-03 14:27:36 +00:00
false.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
fold.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
fsync.c fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com) 2009-06-18 08:20:02 +02:00
head.c head: report file open errors with exitcode 1 (was happily returning 0) 2008-11-11 22:43:10 +00:00
hostid.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00: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 Fix forgotten license comments 2008-12-07 00:52:58 +00:00
ln.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
logname.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
ls.c tweaking Unicode support 2009-07-11 22:26:48 +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 getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS 2009-06-19 12:10:38 +02:00
od.c libbb: get rid of statics in dump.c; code shrinks a lot too 2008-07-16 11:00:16 +00: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 *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00: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 seq: fix input handling in non-C locales 2009-06-15 15:47:58 +02:00
sleep.c libbb: stop using bb_strtod for now 2009-06-15 09:50:54 +02:00
sort.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
split.c - update my name. No obj-code changes ;) 2008-09-25 12:13:34 +00:00
stat.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
stty.c move libc related stuff out of platform.h 2009-07-08 02:58:38 +02:00
sum.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00: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 tail: read only a portion of a file if it's huge. closes bug 551 2009-08-10 03:16:18 +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: fix "test !" and "test abc -a !". closes bug 465 2009-07-17 00:59:26 +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 *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
uname.c touch: implement -d --date (our own testsuite needs that) 2009-07-18 03:41:29 +02:00
uniq.c uniq: strncmp(a,b, -1) might be problematic, use INT_MAX instead 2009-03-09 16:43:28 +00: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 *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
who.c remove a few superfluous includes 2008-11-25 13:33:11 +00:00
whoami.c libbb: password/group function helpers rewritten by Tito: 2008-12-02 22:56:59 +00:00
yes.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00