On a NetBSD machine which happens to have libunistring installed, I see
these test failures:
FAIL: test-u8-vasnprintf1
=
../../gltests/unistdio/test-u8-printf1.h:93: assertion 'u8_strcmp (result,
expected) == 0' failed
FAIL test-u8-vasnprintf1 (exit status: 134)
FAIL: u
I wrote:
> trim: Add tests.
> * tests/test-trim.c: New file.
> * tests/test-trim1.sh: New file.
> * tests/test-trim2.sh: New file.
> * tests/test-trim3.sh: New file.
> * modules/trim-tests: New file.
On NetBSD, I see a link error:
gcc -Wno-error -g -O2 -L/hom
On OpenBSD 6.5, I see a test failure of 'test-stdio'.
The _PRINTF_NAN_LEN_MAX check fails because the printed representation
of NaN, here, is "-nan"; however, gnulib's stdio.h had defined
_PRINTF_NAN_LEN_MAX to 3.
This patch fixes the value.
2023-04-07 Bruno Haible
stdio: Fix the va
On glibc 2.15 and Haiku (2022), I am seeing a test failure:
../../gltests/test-vasnwprintf-posix.c:521: assertion 'wcscmp (result,
L"0x1.922p+1 33") == 0 || wcscmp (result, L"0x3.244p+0 33") == 0 || wcscmp
(result, L"0x6.488p-1 33") == 0 || wcscmp (result, L"0xc.91p-2 33") == 0' failed
FAIL test
Building a testdir of vasnwprintf-posix on macOS 12.5, I get these two
compilation errors:
In file included from ../../gltests/test-assert-h-c++.cc:26:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:37:
In file included from
/Library/Develop
On mingw, in a testdir of vasnwprintf-posix, I see a test failure:
../../gltests/test-vasnwprintf-posix.c:4209: assertion 'wcscmp (result,
L"000303c 33") == 0' failed
FAIL test-vasnwprintf-posix.exe (exit status: 3)
This patch fixes it.
2023-04-07 Bruno Haible
vasnwprintf-p