summaryrefslogtreecommitdiff
path: root/usr.bin/tail/forward.c
AgeCommit message (Expand)Author
2024-08-19tail -F: fix crashAndre Albsmeier
2024-01-04tail: Do not trust st_size if it equals zero.Ricardo Branco
2023-12-27tail(1): Fix a typo in a source code commentGordon Bergling
2023-11-29tail: Clean up error messages.Dag-Erling Smørgrav
2023-11-29tail: Fix heap overflow in -F case.Dag-Erling Smørgrav
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: two-line .c patternWarner Losh
2023-02-18tail: Retry kevent if the system call was interruptedWarner Losh
2022-07-12Improve usability of head(1) and tail(1):Xin LI
2021-02-01tail: fix "tail -F" file rotation detectionChuck Silvers
2019-06-09tail: fix the checks if the file was rotatedMariusz Zaborski
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2013-06-09Print file names without stdio buffering to avoid mixing buffered andJaakko Heinonen
2011-11-06Add missing static keywords to tail(1)Ed Schouten
2011-08-14tail: Fix crash if -F'ed file's filesystem disappears.Jilles Tjoelker
2010-12-11Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl
2009-06-05Change the behaviour of -F slightly; it now persists (forever) inBrian Somers
2006-10-21Better handle the -F case:Marcel Moolenaar
2006-06-29Add a -q option to suppress header lines when multiple files are specified.Florent Thoumie
2005-08-26Unbreak tail -f on non-local filesystems.Paul Saab
2005-02-04Save last displayed file by having the "last" pointer global and save itXin LI
2005-01-12Don't reprint file names unnecessarily.Brian Somers
2005-01-10Some variables became unused or global in the last change to thisDavid Malone
2004-11-04Add support for following more than one file i.e.Paul Richards
2004-11-03Convert to ANSI style function definitions.Paul Richards
2003-08-14Removed check of st_rdev changing in the -F support. st_rdev for regularDavid Greenman
2002-12-15When doing tail -F, return if the freopen() of the file fails instead ofTim J. Robbins
2002-04-08GCC 3.1 cleanup - add a break after default: at the end of a switchMurray Stokely
2002-03-22remove __PWarner Losh
2001-12-12WARNS=2 fixes, use __FBSDID().Mark Murray
2001-11-25Since kqueue support was added to tail, the "-F" option (check forIan Dowse
2001-09-01File positions are off_t nowdays, not long, so:Andrey A. Chernov
2001-06-06 o If the file being tailed is moved back to the original location,Jonathan Lemon
2001-03-28Back out my fseeko -> fseek(END) change - we need to position on what weAndrey A. Chernov
2001-03-27Restore part of my fix spammed in v1.23:Andrey A. Chernov
2001-03-27Fix tail to work on files bigger than 2GB.David Malone
2001-03-27Add comment explaining why size not passed directly to mmap, i.e. not relayAndrey A. Chernov
2001-03-27Use SSIZE_MAX instead of INT_MAX, as kernel does ssize_t checkAndrey A. Chernov
2001-03-26Treat mmap() error as fatal too, i.e. do exit(1) instead of returnAndrey A. Chernov
2001-03-26rlines() checks:Andrey A. Chernov
2001-02-28Use EV_SET() macro to initialize kevent structure.Jonathan Lemon
2000-12-03Remove register keyword usage with prejudice.Jeroen Ruigrok van der Werven
2000-12-02Properly constify some static arrays.Jeroen Ruigrok van der Werven
2000-07-18Convert calls to match new kqueue API.Jonathan Lemon
2000-06-22If the kevent() registration fails (probably due to the underlyingJonathan Lemon
2000-04-18Change <event.h> --> <sys/event.h>Jonathan Lemon
2000-04-16Change tail to use kqueue/kevent to obtain a notification whenJonathan Lemon
1998-04-06Add a new -F flag which is a superset of -f. It will cause tail toPeter Wemm
1997-12-12Change select(0, NULL, ...) to usleep()Andrey A. Chernov