aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* usage.c: remove reference to busybox.hvda2007-05-261-1/+1
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tail: fix SEGV on "tail -N"vda2007-05-081-5/+11
| | | | | | | | config system: clarify PREFER_APPLETS/SH_STANDALONE effects in help text git-svn-id: svn://busybox.net/trunk/busybox@18585 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixes, no code changesvda2007-04-161-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - minor shrinkagealdot2007-04-041-26/+21
| | | | | | | | | text data bss dec hex filename 1431 0 4 1435 59b tail.o.orig 1396 0 0 1396 574 tail.o git-svn-id: svn://busybox.net/trunk/busybox@18326 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-031-0/+1
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #1vda2007-01-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove nested function. Saves ~30 bytes.aldot2007-01-241-11/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17507 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - small size tweakaldot2007-01-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17418 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove networking/libiproute/linux/pkt_sched.hvda2007-01-021-1/+1
| | | | | | | | (and networking/libiproute/linux/ since it become empty). Style fixes. git-svn-id: svn://busybox.net/trunk/busybox@17131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tail: -50 text bytesvda2006-12-221-88/+48
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17057 69ca8d6d-28ef-0310-b511-8ec308f3f277
* convert "negaite" config option into reversed (INCLUDE_SUSv2)vda2006-12-221-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17054 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tail: fix tail +Nvda2006-12-211-11/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17024 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove casts from xmalloc()vda2006-12-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A bunch of defined(__GLIBC__) added. static-linking warning expandedvda2006-12-181-7/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16996 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]vda2006-12-161-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16977 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Provide our own isdigit macro. saves more than 400 bytes.vda2006-11-271-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-081-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pull from busybox_scratch: r15829:15850aldot2006-08-281-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@16009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaup read() and write() variants, plus a couple of new functions likelandley2006-07-161-2/+1
| | | | | | | xlseek and fdlength() for the new mkswap. git-svn-id: svn://busybox.net/trunk/busybox@15703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use bb_msg_{read,write}_error where appropriate.aldot2006-06-031-1/+1
| | | | | | | | | text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox git-svn-id: svn://busybox.net/trunk/busybox@15279 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move SUSv2 obsolete feature disabling to debug menu, invert meaning oflandley2006-01-301-21/+4
| | | | | | | | | | | 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? git-svn-id: svn://busybox.net/trunk/busybox@13692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Stephane Billiart writes:aldot2005-12-151-2/+2
| | | | | | | | | Fix the compilation of head and tail. thanks! git-svn-id: svn://busybox.net/trunk/busybox@12897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - wrap label GET_COUNT in #if ENABLE_FEATURE_FANCY_applet to avoid warningaldot2005-12-131-2/+4
| | | | | | | about unused label. git-svn-id: svn://busybox.net/trunk/busybox@12867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add build options to control SuS compatability, allows numeric bug12005-12-111-0/+2
| | | | | | | | option handling to be disabled. Defaults to enabled, so no changes in default behaviour git-svn-id: svn://busybox.net/trunk/busybox@12835 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Very minor tweak to tail.landley2005-08-131-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11128 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove unused variable ret as reported by apgo in Bug 350 and touchup syntax ↵vapier2005-07-261-8/+5
| | | | | | along the way git-svn-id: svn://busybox.net/trunk/busybox@10920 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-201-0/+12
| | | | | | | | | 0000265: tail -f should keep following files even if they were truncated git-svn-id: svn://busybox.net/trunk/busybox@10884 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Manuel points out that if printf needs a flush to act like dprintf, the resultlandley2005-05-071-2/+1
| | | | | | | | is bigger. Revert last patch. git-svn-id: svn://busybox.net/trunk/busybox@10268 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shaun Jackman pointed out that dprintf(STDOUT_FILENO,...) is just a printf.landley2005-05-071-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from William Barsse to fix a segfault when multiple files are specified.bug12004-09-301-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9287 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move the tail -c option from FANCY_TAIL to the default tail, this makesbug12003-10-311-16/+6
| | | | | | | | the default tail options conform to SUSv3, with the non-SUS option all in FANCY_TAIL git-svn-id: svn://busybox.net/trunk/busybox@7730 69ca8d6d-28ef-0310-b511-8ec308f3f277
* trivial fix to make sure we have sufficient arguments beforeandersen2003-03-281-4/+3
| | | | | | | | we mess with a possibly non-existant argv[1] -Erik git-svn-id: svn://busybox.net/trunk/busybox@6767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-164/+232
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support the obsolete '+' optionbug12002-12-231-4/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6242 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added include for isdigit(); simplified -<num> detectionsandman2002-05-271-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4810 69ca8d6d-28ef-0310-b511-8ec308f3f277
* SUpport old style -[::digit::] options for head and tailsandman2002-05-171-0/+5
| | | | | | | Also make head behave like GNU head (-0/-n 0 is valid) git-svn-id: svn://busybox.net/trunk/busybox@4782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-6/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub up some function prototypes.andersen2001-10-181-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Erik Meusel <erik@wh58-709.st.uni-magdeburg.de>andersen2001-06-261-0/+4
| | | | | | | to fix the behavior of 'tail -f -n 0 FILE' git-svn-id: svn://busybox.net/trunk/busybox@2909 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugandersen2001-05-211-6/+6
| | | | | | | #1130 (i.e. When you turn on features it should always ADD features) git-svn-id: svn://busybox.net/trunk/busybox@2690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A cleanup patch from Jeff Garzik to static-ify a number ofandersen2001-03-091-2/+2
| | | | | | | namespace polluting things that really should be static. git-svn-id: svn://busybox.net/trunk/busybox@2027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-201-1/+1
| | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another patch from Vladimir to eliminate obsolete junk.andersen2001-02-181-7/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1852 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-141-1/+1
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.kraai2001-02-051-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-271-1/+5
| | | | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Turned some #define constants into static const ints.markw2001-01-051-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote tail.kraai2001-01-051-253/+203
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1539 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote dd.kraai2000-12-181-34/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1469 69ca8d6d-28ef-0310-b511-8ec308f3f277