summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-4/+4
2019-01-04Don't reopen file if its stdin.martijn3-7/+5
2017-03-26Change a reallocarray+bzero into recallocarray.martijn1-5/+3
2017-02-01Add a missing sizeof(*lines) factor to previous commit to ensure we zerotb1-2/+3
2017-02-01Don't allocate the buffer for the -n flag in one call.martijn1-8/+14
2016-07-05Modify code added in rev 1.30 to use the correct variable instead of ajsg1-2/+2
2016-02-03fix off-by-one in argument parsinghalex1-2/+3
2016-01-25Fix a crash as found by sthen@martijn1-3/+13
2015-11-21better fixes for running tail without -f. from Martijn van Durentedu1-22/+17
2015-11-20quick hack to fix "tail +n", reported broken by Mikolaj Kucharski.tedu1-3/+17
2015-11-19another try to allow tailing multiple files. maybe it works?tedu6-228/+322
2015-10-25Unify & improve paragraphs talking about "==> file <==" headers inzhuk1-8/+8
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-5/+5
2015-10-07tame "stdio rpath" for when paths are specified; otherwise tame "stdio"deraadt1-1/+7
2015-09-15avoid the useless idiom Fl Ns Ar, use Fl Arschwarze1-4/+4
2015-07-22Fix memory leak when tail -r is used with anything but regular files.tobias1-8/+14
2015-03-26Whitespace fix: Closing bracket belongs to if-block, not enclosing fortobias1-2/+2
2015-02-28Reduce usage of predefined strings in manpages.bentley1-3/+3
2015-02-06SIZE_MAX is standard, we should be using it in preference to themillert1-4/+4
2014-06-03Actually, we've handled FIFOs on stdin in accordance with POSIX since 1996.guenther1-11/+6
2014-05-31tweak previous;jmc1-3/+10
2010-09-03add an EXIT STATUS section for /usr/bin;jmc1-3/+3
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt5-47/+5
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc1-3/+3
2008-11-13Backout previous commit, there are still some issues with it.landry3-189/+83
2008-10-17Permit tail -f to follow multiple files, useful when you want to monitorlandry3-83/+189
2008-06-02fix double free which can happen if the last line has no newline;otto1-2/+3
2007-10-31sync usage() w/ synopsis; from Pierre Riteaujmc1-3/+4
2007-10-22use EV_SET() instead of doing it by hand; Iruata Souzaderaadt1-11/+10
2007-09-29unneeded includes and whitespace police; from Igor Zinovikotto4-26/+10
2007-09-16Another mem leak plugged. With help from Igor Zinovi. ok millert@otto1-5/+11
2007-09-13Plug mem leak. From Igor Zinovik; ok millert@otto1-2/+5
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-30- use a consistent text for STANDARDSjmc1-8/+7
2006-12-28- less macros needed in SYNOPSISjmc1-7/+7
2006-10-02- simplify a list itemjmc1-7/+3
2006-10-02reword a clunky sentence;jmc1-2/+2
2006-03-24ANSIfy. Ok ray@kjell3-24/+11
2006-03-22Clean up some lint and -Wall.kjell3-22/+37
2004-03-12If kqueue is not available, revert back to old behavior. Unbreaks tail -fotto1-4/+7
2004-03-01Unbreak file truncation handling. Resolves PR 3689.otto1-6/+7
2004-02-16make -b and -c work with large offsets; tweak from millert@otto4-20/+20
2003-07-14typo in comment. ok henning@otto1-3/+3
2003-07-01rewrite to not use mmap(2). solves a bunch of issues:henning2-65/+87
2003-06-10mostly ansi cleanup; pval okderaadt2-12/+9
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert7-47/+19
2003-04-08strlcpy conversion, increase buffer size by one char. ok millert@dhartmei1-4/+4
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert4-19/+19
2001-11-19kill more registersmpech4-24/+24
2001-09-19occured->occurredmpech1-4/+4