strncat: Update doc regarding Solaris 11.4

2023-06-25 Thread Bruno Haible
On Solaris 11.4/SPARC (cfarm106.cfarm.net): I see this in config.log: configure:52008: checking whether strncat works configure:52101: gcc -m64 -O2 -o conftest -g -O2 -I/export/home/haible/prefix-sparc64/include -Wall -D_REENTRANT -L/opt/csw/lib/64 -L/export/home/haible/prefix-sparc64/lib confte

thread: Avoid compiler warnings on Solaris

2023-06-25 Thread Bruno Haible
On Solaris 11, I see many warnings: gllib/glthread/thread.h:236:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] I wouldn't care much about 1 warning, but these are many. This patch fixes them. 2023-06-25 Bruno Haible thread: Avoid compiler warning

strerrorname_np: Add support for Solaris 11.4/sparc

2023-06-25 Thread Bruno Haible
On Solaris 11.4/sparc I see a test failure: $ ./test-strerrorname_np ../../gltests/test-strerrorname_np.c:310: assertion 'strcmp (strerrorname_np (EBADE), "EBADE") == 0' failed Abort (core dumped) This patch fixes it. 2023-06-25 Bruno Haible strerrorname_np: Add support for Solari

sigdescr_np tests: Avoid test failure on glibc/sparc

2023-06-25 Thread Bruno Haible
On cfarm105.cfarm.net, I'm seeing this test failure: ../../build-aux/test-driver: line 112: 3135129 Aborted "$@" >> "$log_file" 2>&1 FAIL: test-sigdescr_np This patch fixes it. 2023-06-25 Bruno Haible sigdescr_np tests: Avoid test failure on glibc/sparc. * t

strerrorname_np: Work around glibc bug on PowerPC, SPARC systems

2023-06-25 Thread Bruno Haible
This patch works around a crash of the test-strerrorname_np test, seen on cfarm105.cfarm.net: ../../build-aux/test-driver: line 112: 3107642 Segmentation fault "$@" >> "$log_file" 2>&1 FAIL: test-strerrorname_np 2023-06-25 Bruno Haible strerrorname_np: Work around glibc bug on

doc: Mention glibc initstate, initstate_r bug

2023-06-25 Thread Bruno Haible
There's a test failure on cfarm105.cfarm.net: ../../build-aux/test-driver: line 112: 3107617 Bus error "$@" >> "$log_file" 2>&1 FAIL: test-random_r Just documenting it should be enough, since most state arrays allocated by applications should be aligned by the compiler or through m

doc: Update doc regarding 'setstate'

2023-06-25 Thread Bruno Haible
On Solaris 11.4 (both x86 and sparc based), I see this warning: gltests/test-random.c:24:18: warning: initialization of 'char * (*)(char *)' from incompatible pointer type 'char * (*)(const char *)' [-Wincompatible-pointer-types] Let me update the doc. The warning is not worth silencing. 2023-

doc: Update doc regarding

2023-06-25 Thread Bruno Haible
Usually on glibc systems, there is an file available. But not so on the cfarm105.cfarm.net machine (Debian, sparc64). Let me update the doc. 2023-06-25 Bruno Haible doc: Update doc regarding . * doc/glibc-headers/ieee754.texi: Mention that it's not present on glibc/sp

Re: From wchar_t to char32_t

2023-06-25 Thread Bruno Haible
There was a small mistake in this patch, fixed like this: 2023-06-25 Bruno Haible exclude: Complete last change. * lib/exclude.c: Include instead of . diff --git a/lib/exclude.c b/lib/exclude.c index af204cd300..15f238e09c 100644 --- a/lib/exclude.c +++ b/lib/exclude.c @@ -2