[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] errno: make EEXIST != ENOTEMPTY on AIX
From: |
Bruno Haible |
Subject: |
Re: [PATCH] errno: make EEXIST != ENOTEMPTY on AIX |
Date: |
Mon, 12 Aug 2024 17:19:08 +0200 |
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 <bruno@clisp.org>
errno tests: Avoid test failure on Haiku.
* doc/posix-headers/errno.texi: Mention the Haiku problem.
* tests/test-errno.c: On Haiku, don't check that the error numbers are
positive.
2024-08-12 Bruno Haible <bruno@clisp.org>
errno: Ensure ESOCKTNOSUPPORT gets defined.
* m4/errno_h.m4 (gl_HEADER_ERRNO_H): Test also whether ESOCKTNOSUPPORT
is defined.
* lib/errno.in.h (ESOCKTNOSUPPORT, GNULIB_defined_ESOCKTNOSUPPORT): New
macros.
* lib/strerror-override.h (strerror_override): Declare also if
GNULIB_defined_ESOCKTNOSUPPORT is defined.
* lib/strerror-override.c (strerror_override): Handle ESOCKTNOSUPPORT.
* lib/strerrorname_np.c (strerrorname_np): Move ESOCKTNOSUPPORT code to
the POSIX section.
* doc/posix-headers/errno.texi: Document the Haiku problem.
0001-errno-Ensure-ESOCKTNOSUPPORT-gets-defined.patch
Description: Text Data
0002-errno-tests-Avoid-test-failure-on-Haiku.patch
Description: Text Data