Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
Free data after we're done with it. CID: 271595, 275337, 1368743
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
Fix type mismatches for malloc(3) and Co. This is rather pedantic, as for most architectures it holds that sizeof(type *) == sizeof(type **) Found by: clang static analyzer Reviewed by: ed Differential Revision: https://reviews.freebsd.org/D4722
Remove bogus cast.
Add missing static keywords to column(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
Fix the fix in rev. 1.15 so that we jump to the next column instead of always skipping it. MFC after: 3 days
Add missing parentheses to fix a segmentation fault that is easily reproducable with `jot -s " " 400 1 | column -t'. The bug was present in the the original CSRG 'column -t' added in 1989.
The change to make column use roundup(x, TAB) rounded things to the current tab, however the code it replaced wanted to round to the next TAB. Consequently things like this: ( echo 1 ; echo 2 ) | column cause column to loop indefinitely. This patch is slightly different from the one Gary submitted, but is closer to the original code. Submitted by: Gary Cody <gary@lyranthe.org> MFC after: 1 week
Take a swing at using roundup().
Add support for multibyte characters.
Avoid passing negative values to isspace() on machines with signed chars.
ANSify function definitions to avoid a warning.
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().
WARNS=2 fixup.
Remove the misnamed `emalloc' and replace its uses with calloc (along with error checking) which it effectively was. (malloc+memset)
Round up before checking if the width is smaller than the widest column, otherwise we may divide by zero later. PR: 26283 Reviewed by: roam
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
Add missing -s flag in usage string.
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
This commit was generated by cvs2svn to compensate for changes in r23690, which included commits to RCS files with non-trunk default branches.
Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.
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 |