summaryrefslogtreecommitdiffstats
path: root/usr.bin/look/look.c
Commit message (Collapse)AuthorAgeFilesLines
* Support multiple databases. For examplewosch1998-08-311-24/+24
| | | | $ look miau dict1 dict2 dict3
* revert: The warning was supposed to irritate someone into fixing this.jkh1997-09-151-3/+2
|
* unsigned char -> caddr_t for mmap's return value.jkh1997-09-151-2/+3
|
* Use err(3) instead of local redefinition.charnier1997-07-231-38/+14
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2peter1997-03-111-2/+5
|
* Sweep through the tree fixing mmap() usage:alex1997-01-161-1/+1
| | | | | | | | | | | | - 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
* Make it works with 8bit charsetsache1995-10-291-15/+18
| | | | Add setlocale LC_CTYPE
* Remove trailing whitespace.rgrimes1995-05-301-31/+31
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+357
OpenPOWER on IntegriCloud