Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing static keywords to look(1) | ed | 2011-11-06 | 1 | -13/+13 |
| | |||||
* | Sort header file names. | ed | 2011-10-17 | 1 | -1/+1 |
| | | | | Spotted by: des | ||||
* | Add missing #include. | ed | 2011-10-16 | 1 | -0/+1 |
| | | | | Note to myself: don't write patches while watching a movie. | ||||
* | Don't cast SIZE_T_MAX to off_t. | ed | 2011-10-16 | 1 | -1/+1 |
| | | | | | | | | | I focused so much on the 32-bits case where we have to cast SIZE_T_MAX up in size, that I forgot about the 64-bits case, where off_t and size_t are equal in size. Simply cast both numbers to uintmax_t, as we can assume st_size is never negative. Reported by: cperciva | ||||
* | Build look(1) with WARNS=6. | ed | 2011-10-14 | 2 | -3/+1 |
| | |||||
* | Remove the advertising clause from UCB copyrighted files in usr.bin. This | joel | 2010-12-11 | 3 | -12/+2 |
| | | | | | | | | | 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 | ||||
* | Build usr.bin/ with WARNS=6 by default. | ed | 2010-01-02 | 1 | -0/+3 |
| | | | | Also add some missing $FreeBSD$ to keep svn happy. | ||||
* | Don't try to mmap the contents of empty files. This behaviour was harmless | cperciva | 2009-08-26 | 1 | -0/+4 |
| | | | | | | | | | | | prior to r195693, since historical behaviour of mmap(2) was to silently ignore length-zero mmap requests; but mmap now returns EINVAL, which caused look(1) to emit an error message and fail. Among other things, this makes `freebsd-update fetch` on a newly installed 8.0-BETA3 system print bogus warning messages. MFC after: 3 days | ||||
* | Remove break after return. | stefanf | 2006-07-18 | 1 | -2/+0 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Sort sections. | tjr | 2004-07-19 | 1 | -3/+3 |
| | |||||
* | Move exit status information into a DIAGNOSTICS section. Add an ENVIRONMENT | tjr | 2004-07-19 | 1 | -3/+15 |
| | | | | | section. Re-add a sentence from the BUGS section that went missing in the previous commit. | ||||
* | Add support for multibyte characters. While here, fix a longstanding bug in | tjr | 2004-07-19 | 2 | -59/+68 |
| | | | | | the implementation of the -d option: we were skipping too many characters when a non-alphanumeric character was encountered. | ||||
* | Point out in the BUGS section that look expects input files to have | tjr | 2004-07-19 | 1 | -0/+7 |
| | | | | been sorted with LC_COLLATE=C. | ||||
* | Document incorrect handling of multibyte characters. | tjr | 2004-07-17 | 1 | -1/+5 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -2/+2 |
| | |||||
* | Introduce options definition the standard way. | charnier | 2003-06-09 | 1 | -2/+2 |
| | |||||
* | ANSIify function definitions. | dwmalone | 2002-09-04 | 1 | -18/+11 |
| | | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5 | ||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 1 | -2/+2 |
| | |||||
* | Fix a const-char vs char issue. | markm | 2002-04-28 | 1 | -1/+3 |
| | |||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 1 | -2/+3 |
| | |||||
* | remove __P | imp | 2002-03-22 | 1 | -6/+6 |
| | |||||
* | Warns cleanup - not ready for WARNS=2 yet. | dwmalone | 2001-12-03 | 1 | -2/+3 |
| | |||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. | ru | 2001-02-13 | 1 | -1/+1 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 2 | -2/+2 |
| | |||||
* | Add $Id$, to make it simpler for members of the translation teams to | nik | 1999-07-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde | ||||
* | Support multiple databases. For example | wosch | 1998-08-31 | 2 | -25/+25 |
| | | | | $ look miau dict1 dict2 dict3 | ||||
* | revert: The warning was supposed to irritate someone into fixing this. | jkh | 1997-09-15 | 1 | -3/+2 |
| | |||||
* | unsigned char -> caddr_t for mmap's return value. | jkh | 1997-09-15 | 1 | -2/+3 |
| | |||||
* | Use err(3) instead of local redefinition. | charnier | 1997-07-23 | 2 | -42/+18 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | Merge from Lite2 | peter | 1997-03-11 | 1 | -2/+5 |
| | |||||
* | Sweep through the tree fixing mmap() usage: | alex | 1997-01-16 | 1 | -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 | ||||
* | Use the .At macro where appropriate. | mpp | 1996-08-23 | 1 | -1/+2 |
| | |||||
* | Make it works with 8bit charsets | ache | 1995-10-29 | 1 | -15/+18 |
| | | | | Add setlocale LC_CTYPE | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -31/+31 |
| | |||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 4 | -0/+502 |