Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Prevent overflowing of the buffer length variable in getline() by | jh | 2009-12-16 | 1 | -6/+12 |
| | | | | | | | | | limiting its maximum value. - Exit if reallocf(3) fails in getline(). Failure was silently considered as end-of-file. Reviewed by: ghelmer Approved by: trasz (mentor) | ||||
* | Don't read the newline character to line buffer because lines are passed | jh | 2009-12-12 | 1 | -16/+13 |
| | | | | | | | | | | | | | | | to wcscoll(3). Newline characters could cause incorrect results when comparing lines. Also, if an input line didn't contain a newline character, it was omitted from the output. According to my interpretation, SUSv3 requires that the newline is always printed. Add regression tests for the cases. [1] PR: bin/140976 Submitted by: D'Arcy Cain (original version) [1] Approved by: trasz (mentor) | ||||
* | The input line length limit mentioned on the manual page was removed by | jh | 2009-12-12 | 1 | -5/+1 |
| | | | | | | r179374. Approved by: trasz (mentor) | ||||
* | Similar to changes previously made to src/usr.bin/uniq/uniq.c, | ghelmer | 2008-05-28 | 1 | -22/+90 |
| | | | | | fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. | ||||
* | Document input line length limit. | tjr | 2005-01-25 | 1 | -1/+5 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Document the -i option as being a non-standard extension. | tjr | 2004-07-02 | 1 | -0/+6 |
| | |||||
* | Add support for multibyte characters. | tjr | 2004-07-02 | 2 | -33/+47 |
| | |||||
* | Document the fact that comm(1) does not recognize multibyte characters | tjr | 2004-06-24 | 1 | -1/+7 |
| | | | | | | in its input. Although doing so would require only trivial changes, it would be incompatible with the ordering used by sort(1), which is the primary source of comm's input. | ||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 1 | -14/+7 |
| | | | | Minor constness changes. | ||||
* | Add a History section. comm(1) appeared in V4. | tjr | 2002-05-28 | 1 | -0/+5 |
| | |||||
* | No need to handle '-' explicitly in getopt() loop. | tjr | 2002-05-28 | 1 | -5/+2 |
| | | | | Obtained from: NetBSD | ||||
* | Use `The .Nm utility' | charnier | 2002-04-19 | 1 | -2/+3 |
| | |||||
* | remove __P | imp | 2002-03-22 | 1 | -4/+4 |
| | |||||
* | Remove leaf node WARNS?=2 (that mainly I added). This should | markm | 2002-02-08 | 1 | -1/+0 |
| | | | | help the GCC3 transition and CURRENT in general. | ||||
* | Use LC_ALL to pick LC_COLLATE too (for strcoll()) | ache | 2001-12-30 | 1 | -1/+1 |
| | |||||
* | Style improvements recommended by Bruce as a follow up to some | dwmalone | 2001-12-10 | 1 | -5/+6 |
| | | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF. | ||||
* | Use __FBSDID(). | markm | 2001-12-02 | 1 | -6/+6 |
| | |||||
* | WARNS=2 fixup. | markm | 2001-12-02 | 2 | -6/+9 |
| | |||||
* | mdoc(7) police: utilize the new .Ex macro. | ru | 2001-08-15 | 1 | -3/+1 |
| | |||||
* | Include missing header files which define functions for which gcc has | dd | 2001-06-24 | 1 | -0/+1 |
| | | | | builtins (e.g., exit, strcmp). | ||||
* | Rework diagnostics text | charnier | 2001-02-06 | 2 | -5/+4 |
| | | | | Remove unused #include | ||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -3/+3 |
| | |||||
* | fix the same typo as in uniq | ache | 1999-12-10 | 1 | -1/+1 |
| | |||||
* | toupper -> tolower to match changed behaviour of new grep case fold | ache | 1999-10-29 | 1 | -2/+2 |
| | |||||
* | Cosmetique: use standard prototypes scheme | ache | 1999-10-24 | 1 | -13/+16 |
| | | | | Back out prev change: toupper is more compatible with sort -f | ||||
* | toupper->tolower to match what strcasecmp does | ache | 1999-10-24 | 1 | -2/+2 |
| | |||||
* | Localize it | ache | 1999-10-24 | 1 | -2/+19 |
| | | | | | PR: 11221 Submitted by: Grigoriy Strokin <grg@philol.msu.ru> | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 2 | -2/+2 |
| | |||||
* | Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). | archie | 1998-12-06 | 2 | -3/+4 |
| | |||||
* | Teach comm(1) and uniq(1) about an option for case-insensitive work. | joerg | 1997-09-07 | 2 | -7/+24 |
| | | | | | PR: 3042 Submitted by: graphix@iastate.edu (Kent Vander Velden) | ||||
* | Use err(3). Add DIAGNOSTIC section name in man page. | charnier | 1997-06-30 | 2 | -9/+8 |
| | |||||
* | 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. | ||||
* | Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build. | peter | 1997-03-11 | 1 | -1/+2 |
| | |||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 3 | -0/+285 |