freebsd-dev/lib/libc/include
Konstantin Belousov cd49e866fc Bump sys_errlist size to keep ABI backward-compatible for some time.
Addition of the new errno values requires adding new elements to
sys_errlist array, which is actually ABI-incompatible, since ELF
records the object size.  Expand array in advance to 150 elements so
that we have our users to go over the issue only once, at least until
more than 53 new errors are added.

I did not bumped the symbol version, same as it was not done for
previous increases of the array size.  Runtime linker only copies as
much data into binary object on copy relocation as the binary'object
specifies.  This is not fixable for binaries which access sys_errlist
directly.

While there, correct comment and calculation of the temporary buffer
size for the message printed for unknown error.  The on-stack buffer
is used only for the number and delimiter since r108603.

Requested by:	mckusick
Reviewed by:	mckusick, yuripv
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D18656
2018-12-27 13:02:15 +00:00
..
isc SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
block_abi.h Add an extra void* cast to work around a bug in FreeBSD-gcc inherited 2014-04-03 08:08:36 +00:00
compat.h libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
errlst.h Bump sys_errlist size to keep ABI backward-compatible for some time. 2018-12-27 13:02:15 +00:00
fpmath.h Add include guard to fpmath.h 2017-12-02 19:42:08 +00:00
libc_private.h Update userland arc4random() with OpenBSD's Chacha20 based arc4random(). 2018-08-19 17:40:50 +00:00
namespace.h Add pthread_get_name_np(3). 2018-08-17 18:34:07 +00:00
nscache.h libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
nscachedcli.h libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
nss_tls.h libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
port_after.h
port_before.h Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
reentrant.h lib: Fix several typos and minor errors 2017-12-27 03:23:41 +00:00
resolv_mt.h
spinlock.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
un-namespace.h Add pthread_get_name_np(3). 2018-08-17 18:34:07 +00:00