freebsd-dev/lib/libc/string
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
..
bcmp.3
bcmp.c
bcopy.3
bcopy.c
bstring.3
bzero.3
bzero.c
ffs.3
ffs.c
ffsl.c
ffsll.c
fls.c
flsl.c
flsll.c
index.3
Makefile.inc
memccpy.3
memccpy.c
memchr.3
memchr.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
memcmp.3
memcmp.c
memcpy.3
memcpy.c
memmem.3
memmem.c Avoid OOB reads in memmem(3). 2018-10-15 20:20:57 +00:00
memmove.3
memmove.c
memrchr.c
memset_s.c
memset.3 Provide set_constraint_handler_s(3) man page. 2018-08-19 14:39:57 +00:00
memset.c
stpcpy.c
stpncpy.c
strcasecmp.3
strcasecmp.c
strcasestr.c
strcat.3
strcat.c
strchr.3
strchr.c
strchrnul.c
strcmp.3
strcmp.c
strcoll.3
strcoll.c
strcpy.3 strcpy.3: Improve legibility and clarity 2018-06-06 20:09:21 +00:00
strcpy.c
strcspn.c
strdup.3 strdup.3: Document standardization in POSIX 2018-06-06 21:32:49 +00:00
strdup.c
strerror.3
strerror.c Bump sys_errlist size to keep ABI backward-compatible for some time. 2018-12-27 13:02:15 +00:00
string.3
strlcat.c
strlcpy.3 Make it clear that the "size" argument is for the dst string. 2016-02-26 22:14:19 +00:00
strlcpy.c
strlen.3
strlen.c
strmode.3
strmode.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
strncat.c
strncmp.c
strncpy.c
strndup.c
strnlen.c
strnstr.c
strpbrk.3
strpbrk.c
strrchr.c
strsep.3 strsep.3: don't silently ignore errors 2018-05-28 18:29:15 +00:00
strsep.c
strsignal.c
strspn.3
strspn.c
strstr.3
strstr.c
strtok.3
strtok.c
strxfrm.3
strxfrm.c
swab.3
swab.c
Symbol.map
timingsafe_bcmp.3
timingsafe_bcmp.c
timingsafe_memcmp.c
wcpcpy.c
wcpncpy.c
wcscasecmp.c
wcscat.c
wcschr.c
wcscmp.c
wcscoll.3
wcscoll.c
wcscpy.c
wcscspn.c
wcsdup.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
wcslcat.c
wcslcpy.c
wcslen.c
wcsncasecmp.c
wcsncat.c
wcsncmp.c
wcsncpy.c
wcsnlen.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
wcspbrk.c
wcsrchr.c
wcsspn.c
wcsstr.c
wcstok.3
wcstok.c
wcswidth.3
wcswidth.c
wcsxfrm.3
wcsxfrm.c
wmemchr.3
wmemchr.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
wmemcmp.c
wmemcpy.c
wmemmove.c
wmemset.c