summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail
Commit message (Collapse)AuthorAgeFilesLines
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Sweep through the tree fixing mmap() usage:alex1997-01-162-2/+2
| | | | | | | | | | | | - 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
* complete err() changes, actually use warn() in most instancesadam1996-08-263-9/+9
|
* Dont forget to #include <err.h>peter1996-08-255-0/+5
|
* Argh! caught! *blush*.. This program was supplying it's own 'err' routinepeter1996-08-255-46/+15
| | | | | which was slightly different to the libc one. To save any more cunfusion, use the libc one.
* Fix some bogons:peter1996-08-251-11/+10
| | | | | | | | - timeval in select loop was depending on not having the remaining time returned from select(), causing a busy spin on an implementation that does implement it. - the err() usage was pretty bogus, some of the error messages had strerror attached manually and then reattached by err().
* one file somehow slipped by me in the previous commitadam1996-07-302-2/+6
| | | | tidy up
* when file can be opened for read but cannot be read from:adam1996-07-303-6/+11
| | | | | | | 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.
* Another program depending on zero'ed malloc.phk1995-10-101-1/+1
| | | | Submitted by: Kai Vorma <vode@snakemail.hut.fi>
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-278-0/+1308
OpenPOWER on IntegriCloud