summaryrefslogtreecommitdiff
path: root/coreutils/tail.c
AgeCommit message (Collapse)Author
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
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-05Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.Matt Kraai
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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
2001-01-05Turned some #define constants into static const ints.Mark Whitley
2001-01-05Rewrote tail.Matt Kraai
2000-12-18Rewrote dd.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-10-19Piss people off by removing [+-][0-9]+ options from tail.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-13Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai
segfaulting or handling errors the same way themselves.
2000-08-22Fixed misuse of type "char"Pavel Roskin
2000-08-10Some #include updates.Eric Andersen
-Erik
2000-08-02Cleaner way to handle -NUM and +NUM, reduces the mem usage as well.Eric Andersen
-Erik
2000-08-02Update to the tail rewrite by "Allen Soard" <esp-software@mail.hypermart.net>Eric Andersen
-Erik
2000-07-31Commit the rewrite of tail by Allen SoardEric Andersen
<esp-software@mail.hypermart.net>. Thanks Allen for you work at getting this into shape, -Erik
2000-07-26Fixed a syntax error & superfluous param decl that was causing the build toMark Whitley
fail.
2000-07-26Fix some bitrot.Eric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14More cleanups.Eric Andersen
-Erik
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-06-02A number of additional fixed from Pavel Roskin, note some more bugs in theEric Andersen
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox, which is now included. -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-05-01Some accrued fixes/updates.Erik Andersen
* cp/mv now accepts (and ignores) the -f flag, since it always does force anyway * tail can now accept -<num> commands (e.g. -10) for better compatibility with the standard tail command * added a simple id implementation; doesn't support supp. groups yet
2000-04-06Some more minor updates to better use some gcc attributes.Erik Andersen
-Erik
2000-02-18Some updates for the day,Erik Andersen
-Erik