NetBSD/lib/libc
tnozaki 186e12cc6b avoid mbrtowc/wcrtomb buffer overrun when CPUARCH=hppa and MB_CUR_MAX > 6.
it is not usual case(merely used such mutibyte locale, eg. ja_JP.ISO-2022-JP).

[background]
before merging minoura-xpg4dl branch(2001), we argued and decided to increase
MB_LEN_MAX 1 -> 32 all CPUARCH(*but* we forgot to change it MD to MI).

without knowing that NetBSD/hp700(mergeing -current 2002) incorrectly set
MB_LEN_MAX=6 (maybe this value taken from FreeBSD). but our setlocale(3)
assumes __mb_len_max_runtime as 32, so that mbrtowc/wcrtomb may overrun.

we have to increase hppa's MB_LEN_MAX upto 32, and change it MD to MI
next libc major bump(scheduled next release 6.0).
2010-03-28 14:05:09 +00:00
..
arch add a nop to provide enough space for the linker and long calls. 2010-03-22 02:17:23 +00:00
atomic Link atomic_cas.3 to atomic_cas_{32,64,ptr,uint,ulong}_ni.3. 2010-02-12 22:34:38 +00:00
citrus _locale_cache_t: change ldata and items to pointer for future binary compatibility. 2010-03-27 15:25:21 +00:00
compat fix behavior in case of +-Inf or NaN input: return the proper 2010-01-27 14:10:41 +00:00
compat-43 Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
db Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
dlfcn Add Solarisa-like dlinfo() interface to the ELF dynamic linker. 2009-09-24 21:21:33 +00:00
gdtoa Close file handle after using it. Found by cppcheck. 2010-01-17 23:06:31 +00:00
gen remove some stray __weak_aliases, where the target functions were 2010-03-23 20:28:58 +00:00
gmon - KNF 2010-03-01 19:52:38 +00:00
hash Close file handle in error case. Found by cppcheck. 2010-01-17 23:10:20 +00:00
iconv Revert to revision 1.8. Blindly ignoring options is not acceptable 2009-08-05 15:17:02 +00:00
include Namespace protection for mi_vector_hash. 2010-03-19 18:11:30 +00:00
inet Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
isc merge libbind and bump. 2009-04-12 17:07:16 +00:00
locale avoid mbrtowc/wcrtomb buffer overrun when CPUARCH=hppa and MB_CUR_MAX > 6. 2010-03-28 14:05:09 +00:00
md According to Alexander Bluhm in tech-toolchain on 31 Jan 2009, the way 2009-03-06 18:15:23 +00:00
misc -delete prototypes which are already in <ssp/ssp.h> 2009-11-17 20:46:20 +00:00
nameser fix lint issues and actual bugs lint found (missing break statements) 2009-04-12 19:43:37 +00:00
net Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
nls Use MAP_FAILED and NULL. 2009-03-10 13:15:40 +00:00
quad Assign quad / softfloat specific ${SRCS} to ${SRCS.quad} / ${SRCS.softfloat} 2009-12-06 05:34:42 +00:00
regex Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
resolv the doo doo doo, the daa daa daa... 2009-11-22 18:04:37 +00:00
rpc remove some stray __weak_aliases, where the target functions were 2010-03-23 20:28:58 +00:00
softfloat Merge from matt-nb5-mips64. 2009-12-14 01:07:41 +00:00
ssp Free malloc()ed buffer in error case. Found by cppcheck. 2010-01-17 23:13:32 +00:00
stdio Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
stdlib Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
string Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
sys Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
termios Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
thread-stub Assign copyright to TNF 2009-12-01 01:33:25 +00:00
time remove some stray __weak_aliases, where the target functions were 2010-03-23 20:28:58 +00:00
uuid
yp Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
libcincludes.mk put the code to find the libc include directories and define ARCHSUBDIR 2008-10-26 07:28:06 +00:00
Makefile Provide the phony "tags" target as previous. Make it depend on the real 2009-12-06 12:56:59 +00:00
Makefile.inc convert -idirafter to -isystem, as recommended by cgd in PR 11843. 2010-03-22 01:29:29 +00:00
shlib_version Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier. 2009-10-02 02:45:28 +00:00