aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
AgeCommit message (Collapse)Author
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-05tail: sizeof(buf) is sizeof(char*)! must be BUFSIZDenis Vlasenko
2007-10-02tail: work correctly on /proc files (Kazuo TAKADA <kztakada@sm.sony.co.jp>)Denis Vlasenko
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
2007-07-27multiplier suffixes are short, store them directly in struct suffix_multDenis Vlasenko
function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-05-08tail: fix SEGV on "tail -N"Denis Vlasenko
config system: clarify PREFER_APPLETS/SH_STANDALONE effects in help text
2007-04-16style fixes, no code changesDenis Vlasenko
2007-04-04- minor shrinkageBernhard Reutner-Fischer
text data bss dec hex filename 1431 0 4 1435 59b tail.o.orig 1396 0 0 1396 574 tail.o
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #1Denis Vlasenko
2007-01-24- remove nested function. Saves ~30 bytes.Bernhard Reutner-Fischer
2007-01-20- small size tweakBernhard Reutner-Fischer
2007-01-02Remove networking/libiproute/linux/pkt_sched.hDenis Vlasenko
(and networking/libiproute/linux/ since it become empty). Style fixes.
2006-12-22tail: -50 text bytesDenis Vlasenko
2006-12-22convert "negaite" config option into reversed (INCLUDE_SUSv2)Denis Vlasenko
2006-12-21tail: fix tail +NDenis Vlasenko
2006-12-19remove casts from xmalloc()Denis Vlasenko
2006-12-18A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-11-27Provide our own isdigit macro. saves more than 400 bytes.Denis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-08-28- pull from busybox_scratch: r15829:15850Bernhard Reutner-Fischer
Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-06-03- use bb_msg_{read,write}_error where appropriate.Bernhard Reutner-Fischer
text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
2006-01-30Move SUSv2 obsolete feature disabling to debug menu, invert meaning ofRob Landley
symbol (switched on to remove now: test your apps to make sure they _don't_ do this, because as some point we should just yank it), fixup head/tail/fold. Also tweak "make allyesconfig" so anything starting with CONFIG_DEBUG gets left switched off. Possibly other things we want to put in the debug menu?
2005-12-15- Stephane Billiart writes:Bernhard Reutner-Fischer
Fix the compilation of head and tail. thanks!
2005-12-13- wrap label GET_COUNT in #if ENABLE_FEATURE_FANCY_applet to avoid warningBernhard Reutner-Fischer
about unused label.
2005-12-11Add build options to control SuS compatability, allows numeric Glenn L McGrath
option handling to be disabled. Defaults to enabled, so no changes in default behaviour
2005-08-13Very minor tweak to tail.Rob Landley
2005-07-26remove unused variable ret as reported by apgo in Bug 350 and touchup syntax ↵Mike Frysinger
along the way
2005-07-20applying fix for:Paul Fox
0000265: tail -f should keep following files even if they were truncated
2005-05-07Manuel points out that if printf needs a flush to act like dprintf, the resultRob Landley
is bigger. Revert last patch.
2005-05-07Shaun Jackman pointed out that dprintf(STDOUT_FILENO,...) is just a printf.Rob Landley
2004-09-30Patch from William Barsse to fix a segfault when multiple files are specified.Glenn L McGrath
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-10-31Move the tail -c option from FANCY_TAIL to the default tail, this makesGlenn L McGrath
the default tail options conform to SUSv3, with the non-SUS option all in FANCY_TAIL
2003-03-28trivial fix to make sure we have sufficient arguments beforeEric Andersen
we mess with a possibly non-existant argv[1] -Erik
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-23Support the obsolete '+' optionGlenn L McGrath
2002-05-27Added include for isdigit(); simplified -<num> detectionRobert Griebl
2002-05-17SUpport old style -[::digit::] options for head and tailRobert Griebl
Also make head behave like GNU head (-0/-n 0 is valid)
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-18Scrub up some function prototypes.Eric Andersen
-Erik
2001-06-26A patch from Erik Meusel <erik@wh58-709.st.uni-magdeburg.de>Eric Andersen
to fix the behavior of 'tail -f -n 0 FILE'
2001-05-21Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen
#1130 (i.e. When you turn on features it should always ADD features)
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-18Another patch from Vladimir to eliminate obsolete junk.Eric Andersen