On Haiku, I'm seeing a compilation error in the unit test of mbrtoc16.
The cause is that mbrtoc16 is not declared, because of this typo and
because Haiku has mbrtoc32 but not mbrtoc16.
2024-08-13 Bruno Haible
mbrtoc16: Fix compilation error on Haiku.
* lib/uchar.in.h (mbrtoc16
Hi Collin,
> I haven't tested other platforms yet but hopefully it should all be
> handled in termios.h there or through a single #include like glibc.
AIX is like glibc, here:
$ echo '#include ' | $CC -E - | grep winsize
$ echo '#include ' | $CC -E - | grep winsize
struct winsize {
On all other
Hi,
A prerequisite of implementing tcgetwinsize and tcsetwinsize as
specified by POSIX 2024 is defining struct winsize on all platforms in
termios.h.
This patch defines the struct on Windows where it is missing and checks
if it is defined in sys/ioctl.h like glibc. POSIX 2024 states that it
shoul
Paul Eggert wrote:
> Check that all errno values are positive integer constant expressions.
> ...
> Also check ESOCKTNOSUPPORT, added in POSIX.1-2024.
Both of these fail on Haiku. I'm adding these two workarounds.
2024-08-12 Bruno Haible
errno tests: Avoid test failure on Haiku.
The CI reported 2 test failures on Cygwin:
FAIL: test-fdutimensat
==
../../gltests/nap.h:79: assertion 'nap_fd != -1' failed
Stack trace:
0x100401510 nap_get_stat
../../gltests/nap.h:79
0x100401594 nap
../../gltests/nap.h:137
0x100401944 checkable_atime
The CI reports a 'test-pthread-rwlock-waitqueue' failure also on the macOS
machines. The first patch attempts to avoid this failure.
But it means that the test needs 30 seconds on some more machines. So, some
packages might want to avoid it. To make this easy, I'm moving it to a
separate module.