History log of /freebsd-10.0-release/usr.bin/comm/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


233648 29-Mar-2012 eadler

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


227589 16-Nov-2011 imp

Add helpful clarification text. While not strictly necessary, these
few words make this man page much easier to understand without
re-reading prior parts of the man page.


227235 06-Nov-2011 ed

Mark global functions and/or variables in comm(1) static where possible.

This allows compilers and static analyzers to more thorough analysis.


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


206622 14-Apr-2010 uqs

mdoc: order prologue macros consistently by Dd/Dt/Os

Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by: ru
Approved by: philip, ed (mentors)


204928 09-Mar-2010 ache

Add SIZE_MAX overflow check


204896 08-Mar-2010 ache

Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary comparison" instead.

POSIX says: "The input files shall be text files", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.


200604 16-Dec-2009 jh

- Prevent overflowing of the buffer length variable in getline() by
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)


200442 12-Dec-2009 jh

Don't read the newline character to line buffer because lines are passed
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)


200441 12-Dec-2009 jh

The input line length limit mentioned on the manual page was removed by
r179374.

Approved by: trasz (mentor)


179374 28-May-2008 ghelmer

Similar to changes previously made to src/usr.bin/uniq/uniq.c,
fix truncation of lines at LINE_MAX characters by dynamically
extending line buffers.


140835 25-Jan-2005 tjr

Document input line length limit.


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


131499 02-Jul-2004 tjr

Document the -i option as being a non-standard extension.


131497 02-Jul-2004 tjr

Add support for multibyte characters.


131057 24-Jun-2004 tjr

Document the fact that comm(1) does not recognize multibyte characters
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.


100819 28-Jul-2002 dwmalone

ANSIify function definitions to avoid a warning.
Minor constness changes.


97394 28-May-2002 tjr

Add a History section. comm(1) appeared in V4.


97393 28-May-2002 tjr

No need to handle '-' explicitly in getopt() loop.

Obtained from: NetBSD


95083 19-Apr-2002 charnier

Use `The .Nm utility'


92920 22-Mar-2002 imp

remove __P


90415 08-Feb-2002 markm

Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.


88717 30-Dec-2001 ache

Use LC_ALL to pick LC_COLLATE too (for strcoll())


87628 10-Dec-2001 dwmalone

Style improvements recommended by Bruce as a follow up to some
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.


87246 02-Dec-2001 markm

Use __FBSDID().


87213 02-Dec-2001 markm

WARNS=2 fixup.


81687 15-Aug-2001 ru

mdoc(7) police: utilize the new .Ex macro.


78718 24-Jun-2001 dd

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


72107 06-Feb-2001 charnier

Rework diagnostics text
Remove unused #include


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


54403 10-Dec-1999 ache

fix the same typo as in uniq


52616 29-Oct-1999 ache

toupper -> tolower to match changed behaviour of new grep case fold


52461 24-Oct-1999 ache

Cosmetique: use standard prototypes scheme
Back out prev change: toupper is more compatible with sort -f


52457 24-Oct-1999 ache

toupper->tolower to match what strcasecmp does


52453 24-Oct-1999 ache

Localize it

PR: 11221
Submitted by: Grigoriy Strokin <grg@philol.msu.ru>


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


41568 06-Dec-1998 archie

Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).


29207 07-Sep-1997 joerg

Teach comm(1) and uniq(1) about an option for case-insensitive work.

PR: 3042
Submitted by: graphix@iastate.edu (Kent Vander Velden)


27094 30-Jun-1997 charnier

Use err(3). Add DIAGNOSTIC section name in man page.


24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


23691 11-Mar-1997 peter

This commit was generated by cvs2svn to compensate for changes in r23690,
which included commits to RCS files with non-trunk default branches.


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.