]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r282305, r282309, r282342, r282669, r282722
authorbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 May 2015 08:45:55 +0000 (08:45 +0000)
committerbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 May 2015 08:45:55 +0000 (08:45 +0000)
commitd12e109f67534015e41ed6407bbcbb6a8e325f51
treee160205a1e80272bd576ae0a3dbbcf75692e2260
parentb69ab4cd37f05956efa17e81c2ceacd1cc4b2fd4
MFC: r282305, r282309, r282342, r282669, r282722

r282305:
col: fixing 25 year old bug

Makes col(1) respect POSIX again for escape sequences as decribed in its manpage
The bug was introduced in CSRG in 1990

r282309:
Use defines to improve clarity

r282342:
Capsicumize col(1)

r282669:
Fix about ten integer overflows and underflows and a handful of logic
errors in line number handling.

Submitted by: schwarze at OpenBSD
Discussed with: schwarze at OpenBSD
Obtained from: OpenBSD

r282722:
For half and reverse line feeds, recognize both SUSv2-style escape-digit
and BSD-style escape-control-char sequences in the input stream.

Submitted by: schwarze at OpenBSD
Discussed with: schwarze at OpenBSD
Obtained from: OpenBSD

git-svn-id: svn://svn.freebsd.org/base/stable/10@282949 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/col/col.1
usr.bin/col/col.c