| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit 86e2bcbf47fb4c8dbd799f2f21c0ed338b2e8f1b)
|
|
|
|
| |
(cherry picked from commit 56a0d5444d6f39302f3476b61c1b81ed39abe589)
|
|
|
|
| |
(cherry picked from commit 6abee52e0d79f68fd725de748d7027ca8eef2294)
|
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 7fde0187cc443468561f0a30d589ff0cfe45eef5)
(cherry picked from commit 560e22c8fe460e00d16e5268fe1fbb316ad81101)
(cherry picked from commit 5b5fa75acff11d871d0c90045f8c1a58fed85365)
|
|
|
|
|
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Similar commit in main:
(cherry picked from commit 1d386b48a555)
|
|
|
|
|
|
|
|
|
|
|
| |
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix
(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
|
|
|
|
| |
(cherry picked from commit f5924ad8fde4d5e9c233b821cb6097c6a46740b5)
|
|
|
|
| |
(cherry picked from commit f0a15aafcb863f796e2a7f94d0fd8a857fb56103)
|
|
|
|
| |
(cherry picked from commit 621bf91893ad96c2ec46e603bf4c5b8762e3f730)
|
|
|
|
| |
(cherry picked from commit 34f88528edba44b2703ba8c772bef077eca33dab)
|
|
|
|
| |
(cherry picked from commit 750fe3e6a4619e040c7b0951775698b61290102e)
|
|
|
|
| |
(cherry picked from commit 947efadc3d6e778a824618d82f53f061bec69b77)
|
|
|
|
| |
(cherry picked from commit 6da51e19e347c13e133bcba68cc6100c16320a01)
|
|
|
|
| |
(cherry picked from commit 9e03b903e377c75a60cbbb89ed78955769a1c804)
|
|
|
|
| |
(cherry picked from commit 0afd11d50f277c24e80dd0228b122bcc53d559c0)
|
|
|
|
| |
(cherry picked from commit d5980dff6b512fa9ba08d6af3ff365805fed44fd)
|
|
|
|
| |
(cherry picked from commit f81dfea2912dbc0560587ab534a3d8549dbbb95b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously this was counting the amount of spare room at the start of
the buffer that the string needed to move forward and passing that as
the number of bytes to copy to memmove rather than the length of the
string to be copied.
In the strfmon test in the test suite this caused the memmove to
overflow the allocated buffer by one byte which CHERI caught.
Reported by: CHERI
Reviewed by: kevans
Obtained from: CheriBSD
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26280
Notes:
svn path=/head/; revision=365276
|
|
|
|
|
|
|
|
|
|
| |
PR: 234010
Reported by: Jon Tejnung <jon AT herrskogen.se>
Reviewed by: yuripv
Differential Revision: https://reviews.freebsd.org/D18605
Notes:
svn path=/head/; revision=342260
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.
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.
Notes:
svn path=/head/; revision=326193
|
|
|
|
|
|
|
| |
Mostly on comments.
Notes:
svn path=/head/; revision=298830
|
|
|
|
|
|
|
|
|
|
| |
No need for the snprintf/asprintf dance; use fixed width formats.
Obtained from: NetBSD (CVS rev. 1.8)
MFC after: 1 week
Notes:
svn path=/head/; revision=268569
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
load of _l suffixed versions of various standard library functions that use
the global locale, making them take an explicit locale parameter. Also
adds support for per-thread locales. This work was funded by the FreeBSD
Foundation.
Please test any code you have that uses the C standard locale functions!
Reviewed by: das (gdtoa changes)
Approved by: dim (mentor)
Notes:
svn path=/head/; revision=227753
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/143350
Empty string test gone wrong.
Testing this requires that you have a locale that has the sign string
unset but has int_n_sign_posn set (the default locale falls through to
use "()" around negative numbers which is probably another bug).
I created that setup by hand and indeed without this fix negative
numbers are put out as positive numbers (doesn't fall through to use
"-" as default indicator).
Unfixed example in nl_NL.ISO8859-1 with lc->negative_sign set to empty
string:
strfmon(buf, sizeof(buf), "%-8i", -42.0);
==>
example2: 'EUR 42,00' 'Eu 42,00'
Fixed:
example2: 'EUR 42,00-' 'Eu 42,00-'
This file and suggested fix are identical in at least freebsd-8.
Backport might be appropriate but some expert on locales should
probably have a look at us defaulting to negative numbers in
parenthesis when LC_* is default. That doesn't look right and is not
what other OSes are doing.
PR: 143350
Submitted by: Corinna Vinschen
Reviewed by: bug reporter submitted, tested by me
Notes:
svn path=/head/; revision=203734
|
|
|
|
| |
Notes:
svn path=/head/; revision=178457
|
|
|
|
|
|
|
|
|
|
|
| |
conversion specifiers for them are present.
Submitted by: Maxim Dounin <mdounin@mdounin.ru>
Obtained from: NetBSD (partially)
MFC after: 3 days
Notes:
svn path=/head/; revision=178313
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were no checks for left and right precisions at all, and
a check for field width had integer overflow bug.
Reported by: Maksymilian Arciemowicz
Security: http://securityreason.com/achievement_securityalert/53
Submitted by: Maxim Dounin <mdounin@mdounin.ru>
MFC after: 3 days
Notes:
svn path=/head/; revision=178312
|
|
|
|
| |
Notes:
svn path=/head/; revision=178175
|
|
|
|
|
|
|
| |
the function definition.
Notes:
svn path=/head/; revision=150065
|
|
|
|
| |
Notes:
svn path=/head/; revision=112427
|
|
|
|
| |
Notes:
svn path=/head/; revision=108624
|
|
|
|
|
|
|
|
|
| |
(at least the French ones), a memory leak upon successful termination, a
pointer arithmetic error causing heap corruption, and an off-by-one bug
causing incorrect amounts of padding at the right of the value.
Notes:
svn path=/head/; revision=104963
|
|
|
|
|
|
|
| |
and we are not interested in any errors it may report.
Notes:
svn path=/head/; revision=104946
|
|
|
|
|
|
|
| |
monetary values.
Notes:
svn path=/head/; revision=104944
|
|
|
|
|
|
|
| |
when the `(' flag is used.
Notes:
svn path=/head/; revision=104943
|
|
|
|
|
|
|
| |
of the format string that appear after the field width.
Notes:
svn path=/head/; revision=104942
|
|
|
|
| |
Notes:
svn path=/head/; revision=103668
|
|
|
|
|
|
|
| |
Submitted by: keramida
Notes:
svn path=/head/; revision=97407
|
|
|
|
|
|
|
| |
I believe have made all of libc .c's as consistent as possible.
Notes:
svn path=/head/; revision=92986
|
|
|
|
| |
Notes:
svn path=/head/; revision=87659
|
|
|
|
|
|
|
| |
Silence from: phantom
Notes:
svn path=/head/; revision=83559
|
|
|
|
| |
Notes:
svn path=/head/; revision=83139
|
|
my last version of this work due to HDD crash, but this version cleanly
passed all POSIX and SuSv2 tests. I am working on testing scripts which
should test this implementation against all locales and surely more fixes
will come soon.
Reviewed by: ache, silence at -audit & -developers
Notes:
svn path=/head/; revision=83104
|