Date: Thu, 17 Dec 2020 17:08:25 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r368723 - head/include Message-ID: <202012171708.0BHH8Pct073241@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Dec 17 17:08:25 2020 New Revision: 368723 URL: https://svnweb.freebsd.org/changeset/base/368723 Log: 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 Modified: head/include/string.h Modified: head/include/string.h ============================================================================== --- head/include/string.h Thu Dec 17 17:06:57 2020 (r368722) +++ head/include/string.h Thu Dec 17 17:08:25 2020 (r368723) @@ -140,7 +140,7 @@ int timingsafe_bcmp(const void *, const void *, size_ int timingsafe_memcmp(const void *, const void *, size_t); #endif /* __BSD_VISIBLE */ -#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_) +#if __POSIX_VISIBLE >= 200112 || defined(_XLOCALE_H_) #include <xlocale/_string.h> #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012171708.0BHH8Pct073241>