summaryrefslogtreecommitdiff
path: root/usr.bin/tail/read.c
AgeCommit message (Expand)Author
2017-03-26Change a reallocarray+bzero into recallocarray.Martijn van Duren
2017-02-01Add a missing sizeof(*lines) factor to previous commit to ensure we zeroTheo Buehler
2017-02-01Don't allocate the buffer for the -n flag in one call.Martijn van Duren
2015-11-19another try to allow tailing multiple files. maybe it works?Ted Unangst
2015-03-26Whitespace fix: Closing bracket belongs to if-block, not enclosing forTobias Stoeckmann
2015-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-06-02fix double free which can happen if the last line has no newline;Otto Moerbeek
2007-09-29unneeded includes and whitespace police; from Igor ZinovikOtto Moerbeek
2007-09-16Another mem leak plugged. With help from Igor Zinovi. ok millert@Otto Moerbeek
2007-09-13Plug mem leak. From Igor Zinovik; ok millert@Otto Moerbeek
2006-03-24ANSIfy. Ok ray@Kjell Wooding
2006-03-22Clean up some lint and -Wall.Kjell Wooding
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2001-11-19kill more registersMike Pechkin
2001-09-19occured->occurredMike Pechkin
2000-06-23Get rid of repeating error messages; From netbsd millert@ okEric Jackson
1997-01-12Fix core dump and use libc err(3) instead of private one (which hadTodd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt