| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
toupper/tolower logic was only handled for CCLASS_TOUPPER and
CCLASS_TOLOWER, add support for CCLASS ([:alpha:])
PR: 219900
MFC After: 1 week
|
| |
|
|
|
|
|
|
|
|
|
| |
We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
| |
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.
Sponsored by: Netflix
|
| |
|
|
| |
Remove /^#include\s+<sys/cdefs.h>.*$\n\s+__FBSDID\("\$FreeBSD\$"\);\n/
|
| |
|
|
|
|
|
|
| |
In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dead2.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/735
|
| |
|
|
|
|
|
| |
No functional change intended.
Notes:
svn path=/head/; revision=335395
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=326025
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=314436
|
| |
|
|
|
|
|
|
| |
Reviewed by: cem, ed, bapt, emaste
Differential Revision https://reviews.freebsd.org/D8140
Notes:
svn path=/head/; revision=306813
|
| |
|
|
|
|
|
|
|
|
|
| |
This is not actually documented or even implied in style(9). Make the change
to match convention. Someone should document this convention in style(9).
Reported by: jhb
Sponsored by: EMC Dell Isilon
Notes:
svn path=/head/; revision=305998
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is a straightforward single input, single output program for
capsicum.
Reviewed by: bapt
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D7928
Notes:
svn path=/head/; revision=305982
|
| |
|
|
|
|
|
| |
string2 to squeeze cset when string2 reach its EOS state.
Notes:
svn path=/head/; revision=302827
|
| |
|
|
|
|
|
|
|
|
|
| |
Instead of changing the whole course to another POSIX-permitted way
for consistency and uniformity I decide to completely ignore missing
regex fucntionality and focus on fixing bugs in what we have now,
too many small obstacles we have choicing other way, counting ports.
Corresponding libc changes are backed out in r302824.
Notes:
svn path=/head/; revision=302825
|
| |
|
|
| |
Notes:
svn path=/head/; revision=302711
|
| |
|
|
|
|
|
|
| |
since WCHAR_MAX can be not a valid wchar value, it is easier to stay
inside wint_t.
Notes:
svn path=/head/; revision=302616
|
| |
|
|
| |
Notes:
svn path=/head/; revision=302599
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove collation support for a-z ranges here too.
It was implemented for single byte locales only in any case.
2) Reduce [Cc]flag loop to WCHAR_MAX, WINT_MAX here includes WEOF which is
not a character.
3) Optimize [Cc]flag case: don't repeatedly add the last character of
string2 to squeeze cset when string2 reach its EOS state.
4) Reflect in the manpage that [=equiv=] is implemented for single
byte locales only.
Notes:
svn path=/head/; revision=302594
|
| |
|
|
|
|
|
|
| |
with a wint_t. WINT_MAX and WCHAR_MAX are the same on most architectures
except ARM EABI where wint_t is signed and wchar_t is unsigned.
Notes:
svn path=/head/; revision=245767
|
| |
|
|
| |
Notes:
svn path=/head/; revision=227188
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=216370
|
| |
|
|
|
|
|
| |
needed.
Notes:
svn path=/head/; revision=200462
|
| |
|
|
|
|
|
| |
Tested with: make universe
Notes:
svn path=/head/; revision=200420
|
| |
|
|
| |
Notes:
svn path=/head/; revision=144840
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131855
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
data structures that scale better with large character sets, instead of
arrays indexed by character value:
- Sets of characters to delete/squeeze are stored in a new "cset" structure,
which is implemented as a splay tree of extents. This structure has the
ability to store character classes (ala wctype(3)), but this is not
currently fully utilized.
- Mappings between characters are stored in a new "cmap" structure, which
is also a splay tree.
- The parser no longer builds arrays containing all the characters in a
particular class; instead, next() determines them on-the-fly using
nextwctype(3).
Notes:
svn path=/head/; revision=131846
|
| |
|
|
|
|
|
|
|
|
|
| |
tr -[cC]s '[:upper:]' '[:lower:]'
case (or vice versa):
chars taken from s2 can be different this time
due to lack of complex upper/lower processing,
so fill string2 again to not miss some.
Notes:
svn path=/head/; revision=118409
|
| |
|
|
| |
Notes:
svn path=/head/; revision=118400
|
| |
|
|
|
|
|
| |
2) Fix last (repeated) char after [:class:], it was \0 in original code
Notes:
svn path=/head/; revision=118399
|
| |
|
|
|
|
|
| |
with ranges.
Notes:
svn path=/head/; revision=118373
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1st one is relatively minor: according our own manpage, upper and lower
classes must be sorted, but currently not.
2nd one is serious:
tr '[:lower:]' '[:upper:]'
(and vice versa) currently works only if upper and lower classes
have exact the same number of elements. When it is not true, like for
many ISO8859-x locales which have bigger amount of lowercase letters,
tr may do nasty things.
See this page
http://www.opengroup.org/onlinepubs/007908799/xcu/tr.html
for detailed description of desired tr behaviour in such cases.
Notes:
svn path=/head/; revision=118371
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=102944
|
| |
|
|
|
|
|
| |
in the locale collating order as required by SUSv3.
Notes:
svn path=/head/; revision=100891
|
| |
|
|
|
|
|
|
| |
second string argument is more than one character in length in the way
required by SUSv3 (and the way GNU textutils and SVR4 do it).
Notes:
svn path=/head/; revision=100874
|
| |
|
|
|
|
|
| |
(not byte values) specified by the first string argument.
Notes:
svn path=/head/; revision=98214
|
| |
|
|
|
|
|
| |
one-to-one (SUSv3)
Notes:
svn path=/head/; revision=98210
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92922
|
| |
|
|
|
|
|
|
| |
PR: 34663
MFC After: 3 days
Notes:
svn path=/head/; revision=91562
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87705
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
Add -u option to force unbuffered output
Notes:
svn path=/head/; revision=30322
|
| |
|
|
| |
Notes:
svn path=/head/; revision=28368
|
| |
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24360
|
| |
|
|
| |
Notes:
svn path=/head/; revision=23693
|
| |
|
|
|
|
|
| |
Add setlocale LC_CTYPE
Notes:
svn path=/head/; revision=11895
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8874
|
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|