Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
col(1): Fix a couple of bugs - When flushing extra lines after all input has been processed, make sure that local state is reinitialized correctly. - When -f is specified, make sure to end output with a full newline. - Fix some style issues and update comments. - Add some regression tests. PR: 249308 Submitted by: Yang Zhong <yzhong@freebsdfoundation.org> MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26536
Convert `cap_enter() < 0 && errno != ENOSYS` to `caph_enter() < 0`. No functional change intended.
General further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
Renumber copyright clause 4 Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
Remove the duplicated code using Capsicum helpers. Reviewed by: cem, ed, bapt, emaste Differential Revision https://reviews.freebsd.org/D8140
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
Fix about ten integer overflows and underflows and a handful of logic errors in line number handling. Submitted by: ingo at OpenBSD Discussed with: ingo at OpenBSD Obtained from: OpenBSD
Capsicumize col(1)
Use defines to improve clarity MFC after: 2 weeks
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 This also reverts r280911 Differential Revision: https://reviews.freebsd.org/D2424 Reviewed by: jhb MFC after: 2 weeks
Remove bogus cast.
Fix to col when printing half-line feeds w/ -f option... Message-Id on openbsd-tech: 20141017195810.GJ132@iris.usta.de Submitted by: Ingo Schwarze Obtained from: OpenBSD MFC after: 3 days
Add missing static keywords to col(1)
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
Remove more extraneous ;s.
The variables i and tot don't need to be static.
Avoid shadowing a local scratch variable,
Sort #include directives and remove one duplicate that crept in to the previous commit.
Add support for multibyte characters, loosely based on Bruno Haible's work in the util-linux package.
ANSIify function definitions. 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
Remove local prototypes for main().
remove __P
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.
Use __FBSDID().
Remove the misnamed `xmalloc' and replace its uses with the realloc (along with error checking) that it actually was.
Add the -p flag to force unknown control sequences to be passed through unchanged. Reviewed by: silence on -audit Obtained from: NetBSD MFC after: 3 weeks
Use err(3) and style(9) cleanup. MFC after: 2 weeks
Fix a trivial warning and clamp down with WARNS=2 MFC after: 1 week
Document the -h option.
Use errx(). .Nm fixes
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
Merge from Lite2
Add setlocale LC_CTYPE
Obtained from: looked at the fix in 1.1.5 and rewrote it Fix entabbing.
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
BSD 4.4 Lite Usr.bin Sources
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.27 |