#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
216370 |
|
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
#
193488 |
|
05-Jun-2009 |
brian |
Change the behaviour of -F slightly; it now persists (forever) in trying to open files rather than giving up when it encounters an error. ENOENT errors are not reported.
As a result, files that are moved away then recreated are not at risk of being 'lost' to tail. Files that are recreated and temporarily have unreadable permissions will be shown when they are fixed.
This behaviour is consistent with the GNU version of tail but without the verbiage that goes with the GNU version.
This change also fixes error messages accompanying -f and -F. They no longer report problems with (null)!
MFC after: 3 weeks
|
#
173285 |
|
02-Nov-2007 |
charnier |
initialize variables, WARNS=6 compliant
|
#
143891 |
|
20-Mar-2005 |
iedowse |
Don't skip the initialisation of tl->len when we hit an EOF immediately after allocating a new buffer. This bug caused `tail -r < /dev/null' to core dump when the `J' malloc option is set, and also affected any other input that was an exact multiple of 128k.
|
#
139994 |
|
10-Jan-2005 |
dwmalone |
Cast size_t to off_t before adding them to avoid warnings on the alpha. Use %ld and intmax_t for printing an off_t.
|
#
137157 |
|
03-Nov-2004 |
paul |
Convert to ANSI style function definitions.
|
#
94609 |
|
13-Apr-2002 |
dwmalone |
Fix up vendor IDs. Put a sequence point between writing to a variable and using it.
|
#
94178 |
|
08-Apr-2002 |
murray |
GCC 3.1 cleanup - add a break after default: at the end of a switch statement.
|
#
92922 |
|
21-Mar-2002 |
imp |
remove __P
|
#
87712 |
|
11-Dec-2001 |
markm |
WARNS=2 fixes, use __FBSDID().
|
#
82762 |
|
01-Sep-2001 |
ache |
File positions are off_t nowdays, not long, so: 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.
|
#
74876 |
|
27-Mar-2001 |
dwmalone |
Fix tail to work on files bigger than 2GB.
PR: 14786 Reviewed by: iedowse
|
#
69552 |
|
03-Dec-2000 |
asmodai |
Remove register keyword usage with prejudice. Modern compilers are smarter when it comes to allocating register usage.
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
37453 |
|
06-Jul-1998 |
bde |
Fixed printf format errors.
|
#
28150 |
|
13-Aug-1997 |
charnier |
Remove trailing \n in warn() string.
|
#
21786 |
|
16-Jan-1997 |
alex |
Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present.
Discussed with: bde
|
#
17833 |
|
26-Aug-1996 |
adam |
complete err() changes, actually use warn() in most instances
|
#
17826 |
|
25-Aug-1996 |
peter |
Dont forget to #include <err.h>
|
#
17825 |
|
25-Aug-1996 |
peter |
Argh! caught! *blush*.. This program was supplying it's own 'err' routine which was slightly different to the libc one. To save any more cunfusion, use the libc one.
|
#
17339 |
|
30-Jul-1996 |
adam |
when file can be opened for read but cannot be read from: fail once (was twice) in forward case fail once (was no times) in reverse case
this can happen when file is a directory on an NFS or procfs mount.
|
#
1591 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|
#
1590 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Usr.bin Sources
|