|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
dba677d1 |
| 14-Jul-2021 |
Konstantin Belousov <[email protected]> |
libc: add mempcpy(3) and wmempcpy(3)
(cherry picked from commit ee37f64cf875255338f917a9da76c643cf59786c)
|
|
Revision tags: release/13.0.0 |
|
| #
65bf3043 |
| 17-Dec-2020 |
Konstantin Belousov <[email protected]> |
Change POSIX compliance level for visibility of strerror_l(3).
Third-party code tests for strerror_l(3) without specifying _POSIX_SOURCE, and then expects that the function is prototyped with _POSIX
Change POSIX compliance level for visibility of strerror_l(3).
Third-party code tests for strerror_l(3) without specifying _POSIX_SOURCE, and then expects that the function is prototyped with _POSIX_SOURCE set to 200112.
Reported and tested by: antoine Sponsored by: The FreeBSD Foundation MFC after: 13 days
show more ...
|
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0 |
|
| #
11478453 |
| 20-Aug-2019 |
Dimitry Andric <[email protected]> |
Vendor import of stripped libc++ trunk r366426 (just before the release_90 branch point):
https://llvm.org/svn/llvm-project/libcxx/trunk@366426
|
|
Revision tags: release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
2321c474 |
| 20-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
include: 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
include: 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.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
9851b340 |
| 30-Mar-2017 |
Konstantin Belousov <[email protected]> |
Implement the memset_s(3) function as specified by the C11 ISO/IEC 9899:2011 Appendix K 3.7.4.1.
Other needed supporting types, defines and constraint_handler infrastructure is added as specified in
Implement the memset_s(3) function as specified by the C11 ISO/IEC 9899:2011 Appendix K 3.7.4.1.
Other needed supporting types, defines and constraint_handler infrastructure is added as specified in the C11 spec.
Submitted by: Tom Rix <[email protected]> Sponsored by: Juniper Networks Discussed with: ed MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D9903 Differential revision: https://reviews.freebsd.org/D10161
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
854023f0 |
| 14-Aug-2016 |
Xin LI <[email protected]> |
Add timingsafe_bcmp and timingsafe_memcmp.
Obtained from: OpenBSD Reviewed by: trasz MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D7280
|
| #
51072bd6 |
| 23-Jul-2016 |
Dimitry Andric <[email protected]> |
Vendor import of libc++ release_39 branch r276489: https://llvm.org/svn/llvm-project/libcxx/branches/release_39@276489
|
|
Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0 |
|
| #
448f5f73 |
| 11-May-2014 |
Jilles Tjoelker <[email protected]> |
include: Remove checks for __BSD_VISIBLE where redundant with __XSI_VISIBLE or __POSIX_VISIBLE.
Whenever <sys/cdefs.h> sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and __XSI_VISIBLE
include: Remove checks for __BSD_VISIBLE where redundant with __XSI_VISIBLE or __POSIX_VISIBLE.
Whenever <sys/cdefs.h> sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and __XSI_VISIBLE to the newest version supported.
No functional change is intended.
show more ...
|
|
Revision tags: release/10.0.0, release/9.2.0, release/8.4.0 |
|
| #
4e95969e |
| 14-Feb-2013 |
Niclas Zeising <[email protected]> |
FreeBSD uses #if __BSD_VISIBLE to hide non-standard functions, fix this.
Noticed by: kib Approved by: kib
|
| #
d902844b |
| 13-Feb-2013 |
Niclas Zeising <[email protected]> |
Add strchrnul(), a GNU function similar to strchr(), except that it returns a pointer to the end of the string, rather than NULL, if the character was not found.
Approved by: theraven
|
|
Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0 |
|
| #
3ac9d659 |
| 28-Mar-2012 |
David Chisnall <[email protected]> |
Correctly expose xlocale functions if people include the headers in the wrong order (as some ports apparently do).
Approved by: dim (mentor)
|
| #
a8ed63bb |
| 04-Mar-2012 |
David Chisnall <[email protected]> |
Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build universe with gcc.
Approved by: dim (mentor)
|
| #
b74cf6dc |
| 14-Feb-2012 |
Dimitry Andric <[email protected]> |
Revert r231673 and r231682 for now, until we can run a full make universe with them. Sorry for the breakage.
Pointy hat to: me and brooks
|
| #
82dd5016 |
| 14-Feb-2012 |
David Chisnall <[email protected]> |
Cleanup of xlocale:
- Address performance regressions encountered by das@ by caching per-thread data in TLS where available. - Add a __NO_TLS flag to cdefs.h to indicate where not available. - Reo
Cleanup of xlocale:
- Address performance regressions encountered by das@ by caching per-thread data in TLS where available. - Add a __NO_TLS flag to cdefs.h to indicate where not available. - Reorganise the xlocale.h definitions into xlocale/*.h so that they can be included from multiple places. - Export the POSIX2008 subset of xlocale when POSIX2008 says it should be exported, independently of whether xlocale.h is included. - Fix the bug where programs using ctype functions always assumed ASCII unless recompiled. - Fix some style(9) violations.
Reviewed by: brooks (mentor) Approved by: dim (mentor)
show more ...
|
|
Revision tags: release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0 |
|
| #
f2556687 |
| 16-Feb-2010 |
Warner Losh <[email protected]> |
Remove the Berkeley clause 3's. Add a few $FreeBSD$
|
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0 |
|
| #
dd5185d1 |
| 14-Mar-2009 |
David Schultz <[email protected]> |
Namespace: memccpy() and memchr() are XSI, and memrchr() is a BSD extension.
|
| #
69099ba2 |
| 28-Feb-2009 |
David Schultz <[email protected]> |
- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), wcscasecmp(), and wcsncasecmp(). - Make some previously non-standard extensions visible if POSIX_VISIBLE >= 200809. - Use restrict qu
- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), wcscasecmp(), and wcsncasecmp(). - Make some previously non-standard extensions visible if POSIX_VISIBLE >= 200809. - Use restrict qualifiers in stpcpy(). - Declare off_t and size_t in stdio.h. - Bump __FreeBSD_version in case the new symbols (particularly getline()) cause issues with ports.
Reviewed by: standards@
show more ...
|
| #
e00a6d21 |
| 28-Feb-2009 |
David Schultz <[email protected]> |
Add restrict qualifiers to the parameters to strlcpy() and strlcat(). The annotation mainly just serves as a hint that they're not intended for use with overlapping strings.
|
| #
dce7ffd6 |
| 28-Feb-2009 |
David Schultz <[email protected]> |
Mark memmem() __pure.
|
| #
544048ec |
| 31-Jan-2009 |
David Schultz <[email protected]> |
Add a function attribute called `__malloc_like', which informs gcc that the annotated function returns a pointer that doesn't alias any extant pointer. This results in a 50%+ speedup in microbenchmar
Add a function attribute called `__malloc_like', which informs gcc that the annotated function returns a pointer that doesn't alias any extant pointer. This results in a 50%+ speedup in microbenchmarks such as the following:
char *cp = malloc(1), *buf = malloc(BUF); for (i = 0; i < BUF; i++) buf[i] = *cp;
In real programs, your mileage will vary. Note that gcc already performs this optimization automatically for any function called `malloc', `calloc', `strdup', or `strndup' unless -fno-builtins is used.
show more ...
|
|
Revision tags: release/7.1.0_cvs, release/7.1.0 |
|
| #
20e76cb3 |
| 08-Dec-2008 |
Konstantin Belousov <[email protected]> |
Add strndup(3) prototype to string.h.
This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined
Add strndup(3) prototype to string.h.
This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined local prototypes for strndup(), controlled by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1. Next import of the corresponding program would regenerate config.h, overriding the changes in this commit.
No objections from: kan
show more ...
|
|
Revision tags: release/6.4.0_cvs, release/6.4.0 |
|
| #
82e45205 |
| 10-Apr-2008 |
Xin LI <[email protected]> |
Add memrchr(3).
Obtained from: OpenBSD
|
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
| #
52fbcc15 |
| 24-Nov-2005 |
Ruslan Ermilov <[email protected]> |
Revert last revision, strmode() should be moved to <unistd.h> to be properly fixed.
|
| #
fee45c0c |
| 24-Nov-2005 |
Ruslan Ermilov <[email protected]> |
Fix prototype of strmode() to match the code and documentation.
|
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
| #
da506dca |
| 25-Aug-2005 |
Andre Oppermann <[email protected]> |
Appropriate namespace protection for memmem(3).
Submitted by: wollman MFC after: 3 days
|