summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail/tail.c
Commit message (Collapse)AuthorAgeFilesLines
* remove __Pimp2002-03-221-2/+2
|
* WARNS=2 fixes, use __FBSDID().markm2001-12-121-11/+13
|
* Allow "obsolete" (but commonly-used) command line style to be usedfenner2001-10-021-2/+3
| | | | | | with -F, e.g. tail -1 -F /var/log/messages. Submitted by: Maxim Konovalov <maxim@macomnet.ru>
* File positions are off_t nowdays, not long, so:ache2001-09-011-2/+2
| | | | | | | | | | | long -> off_t strtol -> strtoll fseek -> fseeko NOTE: that fseek not works for >long offsets files per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long.
* Mention the -F in the usage().ru2001-01-241-1/+1
| | | | | PR: 24586 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
* Remove register keyword usage with prejudice.asmodai2000-12-031-1/+1
| | | | | Modern compilers are smarter when it comes to allocating register usage.
* Use a size_t instead of an int.asmodai2000-12-021-1/+1
|
* Properly constify some static arrays.asmodai2000-12-021-1/+5
| | | | Also #if out some sccsid's and add rcsid's.
* Clean up some ambiguous nested if/elses.billf1999-07-041-1/+2
|
* Add a new -F flag which is a superset of -f. It will cause tail topeter1998-04-061-2/+5
| | | | | | stat() the file being followed and do a close/reopen if the file has been renamed and/or rotated. This is damn useful for leaving running on files in /var/log when newsyslog(8) rotates them.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Dont forget to #include <err.h>peter1996-08-251-0/+1
|
* Argh! caught! *blush*.. This program was supplying it's own 'err' routinepeter1996-08-251-4/+4
| | | | | which was slightly different to the libc one. To save any more cunfusion, use the libc one.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+302
OpenPOWER on IntegriCloud