Log

Author Commit Date CI Message
Bruno Haible c19cabc0 2023-11-05T15:00:29 fenv-environment: New module. * lib/fenv.in.h (fenv_t) [hppa]: Remove the __exception field. (FE_DFL_ENV): Override if <fenv.h> exists but HAVE_FE_DFL_ENV is not defined. (fegetenv, fesetenv, feupdateenv, feholdexcept): New declarations. * lib/fenv-env.c: New file, based on glibc. * lib/fenv-env-hold.c: New file. * lib/fenv-env-update.c: New file. * m4/fenv-environment.m4: New file. * m4/mathfunc.m4 (gl_MATHFUNC): Handle also the 'fenv_t *' type. * m4/fenv_h.m4 (gl_FENV_H_DEFAULTS): Initialize REPLACE_FEGETENV, REPLACE_FEHOLDEXCEPT, REPLACE_FESETENV, REPLACE_FEUPDATEENV. * modules/fenv (Makefile.am): Substitute REPLACE_FEGETENV, REPLACE_FEHOLDEXCEPT, REPLACE_FESETENV, REPLACE_FEUPDATEENV. * modules/fenv-environment: New file. * doc/posix-functions/fegetenv.texi: Mention the new module and the bugs on glibc, macOS, AIX. * doc/posix-functions/feholdexcept.texi: Mention the new module and the bugs on glibc, musl libc, FreeBSD, AIX, mingw, MSVC. * doc/posix-functions/fesetenv.texi: Mention the new module and the bugs on musl libc, FreeBSD, NetBSD, AIX, Solaris, Cygwin, mingw, MSVC. * doc/posix-functions/feupdateenv.texi: Mention the new module and the bugs on glibc, musl libc, macOS, FreeBSD, AIX, Solaris, mingw, MSVC.
Bruno Haible fe2c2458 2023-11-05T14:50:08 fenv-exceptions-tracking-c99 tests: Enhance tests. * tests/test-fenv-except-tracking-3.sh: Test not only FE_INVALID, but also FE_DIVBYZERO, FE_OVERFLOW, FE_UNDERFLOW, FE_INEXACT. * tests/test-fenv-except-tracking-3.c: Include <stdlib.h>, <string.h>. Don't include fpe-trapping.h. Assume HAVE_FPE_TRAPPING is 1. (main): Receive the exception to test as first argument.
Bruno Haible 45d01c79 2023-11-05T14:34:39 fpe-trapping: Simplify. * lib/fpe-trapping.h (sigfpe_on_invalid): Remove all platform specific code. Just rely on feclearexcept and feenableexcept. * m4/fpe-trapping.m4: Renamed from m4/fpe.m4. (gl_FPE_TRAPPING): Greatly simplify. * modules/fpe-trapping (Files): Use m4/fpe-trapping.m4 instead of m4/fpe.m4. Remove m4/mathfunc.m4, m4/musl.m4. (Depends-on): Add fenv-exceptions-trapping. * tests/test-fenv-except-state-2.c (main): Update skip message. * tests/test-fenv-except-tracking-2.c (main): Likewise. * tests/test-fenv-except-tracking-3.c (main): Likewise. * tests/test-fenv-except-tracking-5.c (main): Likewise. * tests/test-nan-2.c (main): Likewise. * tests/test-snan-2.c (main): Likewise.
Bruno Haible 6facb2dd 2023-11-05T14:27:47 fpe-tracking: Remove module. * modules/fpe-tracking: Remove file. * m4/fpe.m4 (gl_FPE_TRACKING): Remove macro. (gl_FPE_TRAPPING): Require gl_FENV_EXCEPTIONS_TRACKING instead of gl_FPE_TRACKING. Use FENV_EXCEPTIONS_TRACKING_LIBM instead of FPE_TRACKING_LIBM. * modules/nan-tests (Depends-on): Add fenv-exceptions-tracking-c99. Remove fpe-tracking. (Makefile.am): Use FENV_EXCEPTIONS_TRACKING_LIBM instead of FPE_TRACKING_LIBM. * modules/snan-tests (Depends-on): Add fenv-exceptions-tracking-c99. Remove fpe-tracking. (Makefile.am): Use FENV_EXCEPTIONS_TRACKING_LIBM instead of FPE_TRACKING_LIBM. * tests/test-nan-1.c: Assume HAVE_FE_INVALID is 1. * tests/test-snan-1.c: Likewise.
Bruno Haible 26d76def 2023-11-05T13:01:32 fenv-exceptions-trapping: Avoid test failure on NetBSD/sparc. * tests/test-fenv-except-trapping-2.c (main): Skip the 'long double' tests also on NetBSD/sparc.
Bruno Haible 581e10cf 2023-11-05T12:56:24 fenv-exceptions-trapping: Update documentation. * doc/glibc-functions/feenableexcept.texi: Document the Linux/hppa problem.
Bruno Haible 6e9dcf80 2023-11-05T12:49:43 fenv-exceptions-trapping: Avoid test failure on older systems. * tests/test-fenv-except-trapping-2.c (main): Skip the test also on x86 systems with gcc < 8.
Bruno Haible 2f7cf8a4 2023-11-04T16:54:43 fenv-exceptions-trapping: Fix for powerpc* platforms. * lib/fenv-except-trapping.c (feenableexcept, fedisableexcept) [powerpc]: Use the correct bit mask for the trap bits. * tests/test-fenv-except-trapping-2.c (main): Reenable the '9' tests on powerpc platforms.
Bruno Haible a298f0a0 2023-11-04T16:37:02 fenv-exceptions-state-c99: Fix compilation error on FreeBSD. * lib/fenv.in.h (fegetexceptflag, fesetexceptflag): On FreeBSD, use an rpl_ prefix, to avoid a conflict with an inline definition in FreeBSD's <fenv.h>.
Bruno Haible 421e04d7 2023-11-04T16:27:09 doc: Update info about Cygwin feraiseexcept bug. * doc/posix-functions/feraiseexcept.texi: Update info regarding Cygwin.
Bruno Haible 10070b43 2023-11-04T16:23:16 fenv-exceptions-tracking-c99 tests: Avoid test failure on NetBSD/sparc. * tests/test-fenv-except-tracking-2.c (main): On NetBSD/sparc, skip the 'long double' test.
Bruno Haible c6caa321 2023-11-04T15:29:46 fenv-exceptions-tracking-c99: Fix fetestexcept() override for AIX. * lib/fenv-except-tracking-test.c (fetestexcept): On AIX, use fp_read_flag() rather than the fpscr register.
Bruno Haible bae535e8 2023-11-04T14:31:37 fenv-exceptions-tracking-c99: Work around a NetBSD/x86_64 bug. * m4/fenv-exceptions-tracking.m4 (gl_FENV_EXCEPTIONS_TRACKING): On NetBSD/x86_64, set REPLACE_FETESTEXCEPT to 1. * doc/posix-functions/fetestexcept.texi: Document the NetBSD bug.
Bruno Haible 4650354b 2023-11-04T14:18:28 fenv-rounding: Avoid a test failure on NetBSD/sparc64. * tests/test-fenv-round.c (test_towardzero, test_upward, test_downward): Skip the 'long double' tests on NetBSD/sparc64. * doc/posix-functions/fesetround.texi: Mention the problem with 'long double' operations on some platforms.
Bruno Haible c261d5dd 2023-11-04T14:07:22 fenv-rounding: Improve code for MSVC. * lib/fenv-round.c (fegetround) [MSVC]: Use the rounding direction from the SSE unit. Don't assume stable values for FE_UPWARD and FE_DOWNWARD. (fesetround) [MSVC]: Set the rounding direction only in the SSE unit. Don't assume stable values for FE_UPWARD and FE_DOWNWARD.
Bruno Haible a71a8dae 2023-11-04T13:54:56 fenv-rounding et al.: Require AC_CANONICAL_HOST before accessing $host. * m4/fenv-rounding.m4 (gl_FENV_ROUNDING): Require AC_CANONICAL_HOST. * m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): Likewise. * m4/getrandom.m4 (gl_FUNC_GETRANDOM): Likewise. * m4/iswdigit.m4 (gl_FUNC_ISWDIGIT): Likewise. * m4/iswpunct.m4 (gl_FUNC_ISWPUNCT): Likewise. * m4/iswxdigit.m4 (gl_FUNC_ISWXDIGIT): Likewise. * m4/strerrorname_np.m4 (gl_FUNC_STRERRORNAME_NP): Likewise. * m4/strfmon_l.m4 (gl_FUNC_STRFMON_L): Likewise. * m4/unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Likewise. * m4/vasnprintf.m4 (gl_PREREQ_VASNWPRINTF): Likewise. * m4/wcscmp.m4 (gl_FUNC_WCSCMP): Likewise. * m4/wcsncmp.m4 (gl_FUNC_WCSNCMP): Likewise.
Bruno Haible 485d983b 2023-11-04T13:22:08 fenv: Document an ABI break on MSVC. * doc/posix-headers/fenv.texi: Document why fegetround and fesetround are seemingly broken on MSVC.
Bruno Haible e60ee371 2023-10-31T21:54:49 fenv-exceptions-trapping: Add tests. * tests/test-fenv-except-trapping-1.c: New file. * tests/test-fenv-except-trapping-2.sh: New file. * tests/test-fenv-except-trapping-2.c: New file. * modules/fenv-exceptions-trapping-tests: New file.
Bruno Haible e5a52e29 2023-10-31T21:46:13 fenv-exceptions-trapping: New module. * lib/fenv.in.h (feenableexcept, fedisableexcept, fegetexcept): New declarations. * lib/fenv-except-trapping.c: New file, based on glibc. * m4/fenv_h.m4 (gl_FENV_H): Test also whether fegetexcept is declared. * m4/fenv-exceptions-trapping.m4: New file. * modules/fenv-exceptions-trapping: New file. * doc/glibc-functions/fegetexcept.texi: Mention the new module. * doc/glibc-functions/fedisableexcept.texi: Likewise. * doc/glibc-functions/feenableexcept.texi: Likewise. Mention the glibc, macOS, FreeBSD bugs.
Bruno Haible 9c82dee6 2023-10-30T16:26:46 fenv-exceptions-state-c99: Fix the x86_64 and i386 case. * lib/fenv-except-state-set.c (fesetexceptflag): Make sure to restore the exception trap bits in all cases.
Bruno Haible b6873b7a 2023-10-30T16:52:20 fenv-exceptions-state-c23: Add tests. * tests/test-fenv-except-state-3.c: New file. * modules/fenv-exceptions-state-c23-tests: New file.
Bruno Haible 7655a646 2023-10-30T16:49:25 fenv-exceptions-state-c23: New module. * lib/fenv.in.h (fetestexceptflag): New declaration. * lib/fenv-except-state-test.c: New file, based on glibc. * m4/fenv-exceptions-state-c23.m4: New file. * modules/fenv-exceptions-state-c23: New file. * doc/posix-functions/fetestexceptflag.texi: Mention the new module.
Bruno Haible 68ec4433 2023-10-30T16:44:26 fenv-exceptions-state-c99: Add tests. * tests/test-fenv-except-state-1.c: New file. * tests/test-fenv-except-state-2.c: New file. * modules/fenv-exceptions-state-c99-tests: New file.
Bruno Haible ee6460d2 2023-10-30T16:39:19 fenv-exceptions-state-c99: New module. * lib/fenv.in.h (fegetexceptflag, fesetexceptflag): New declarations. * lib/fenv-except-state-get.c: New file, baed on glibc. * lib/fenv-except-state-set.c: New file, baed on glibc. * m4/mathfunc.m4 (gl_MATHFUNC): Handle also the 'fexcept_t *' type. * m4/fenv-exceptions-state.m4: New file. * modules/fenv-exceptions-state-c99: New file. * doc/posix-functions/fegetexceptflag.texi: Mention the new module. * doc/posix-functions/fesetexceptflag.texi: Mention the new module and the glibc, musl libc, macOS, AIX, mingw bugs.
Bruno Haible 6d2dfab5 2023-10-30T16:32:30 fenv-exceptions-tracking-{c99,c23}: Fix the x86_64 and i386 case. * lib/fenv-except-tracking-clear.c (feclearexcept): Make sure to restore the exception trap bits in all cases. * lib/fenv-except-tracking-raise.c (feraiseexcept): Likewise. * lib/fenv-except-tracking-set.c (fesetexcept): Likewise.
Bruno Haible 1c0a1eaf 2023-10-29T22:27:38 fenv-exceptions-tracking-c23: Add tests. * tests/test-fenv-except-tracking-4.c: New file. * tests/test-fenv-except-tracking-5.c: New file. * modules/fenv-exceptions-tracking-c23-tests: New file.
Bruno Haible b21a4c46 2023-10-29T22:20:02 fenv-exceptions-tracking-c23: New module. * lib/fenv.in.h (fesetexcept): New declaration. * lib/fenv-except-tracking-set.c: New file, based on glibc. * lib/fenv-private.h (_GETMSR, _SETMSR, MSR_FP_EXC_MASK, PR_SET_FPEXC, PR_FP_EXC_DISABLED, PR_FP_EXC_NONRECOV, PR_FP_EXC_ASYNC, PR_FP_EXC_PRECISE, prctl) [NetBSD/powerpc]: New macros. * m4/fenv-exceptions-tracking-c23.m4: New file. * modules/fenv-exceptions-tracking-c23: New file. * doc/posix-functions/fesetexcept.texi: Mention the new module and the glibc bugs.
Bruno Haible f59f3fc0 2023-10-29T00:29:46 fenv-exceptions-tracking-c99: Fix feraiseexcept (FE_OVERFLOW) on MSVC. * lib/fenv-except-tracking-raise.c (feraiseexcept): Use the generic approach for all exceptions.
Bruno Haible ab7f5659 2023-10-28T18:42:47 fpe-trapping: Always clear the FE_INVALID exception flag first. * lib/fpe-trapping.h: Include <fenv.h> on all platforms. (sigfpe_on_invalid) [AIX, HP-UX, IRIX, Solaris] : Clear the FE_INVALID exception flag first. * modules/fpe-trapping (Depends-on): Add fenv-exceptions-tracking-c99.
Bruno Haible 09095af1 2023-10-28T18:39:32 fenv-exceptions-tracking-c99: Add tests. * tests/test-fenv-except-tracking-1.c: New file. * tests/test-fenv-except-tracking-2.sh: New file. * tests/test-fenv-except-tracking-2.c: New file. * tests/test-fenv-except-tracking-3.sh: New file. * tests/test-fenv-except-tracking-3.c: New file. * modules/fenv-exceptions-tracking-c99-tests: New file.
Bruno Haible 2ce970a2 2023-10-28T18:31:22 fenv-exceptions-tracking-c99: New module. * lib/fenv.in.h (feclearexcept, feraiseexcept, fetestexcept): New declarations. * lib/fenv-except-tracking-clear.c: New file, based on glibc. * lib/fenv-except-tracking-raise.c: New file, based on glibc. * lib/fenv-except-tracking-test.c: New file, based on glibc. * m4/fenv-exceptions-tracking.m4: New file. * m4/fenv-exceptions.m4: New file. * modules/fenv-exceptions-tracking-c99: New file. * doc/posix-functions/feclearexcept.texi: Mention the new module. * doc/posix-functions/fetestexcept.texi: Likewise. * doc/posix-functions/feraiseexcept.texi: Likewise. Mention the glibc and Cygwin bugs.
Bruno Haible 72bd753d 2023-10-27T20:26:56 fenv-rounding: Add tests. * tests/test-fenv-round.c: New file. * modules/fenv-rounding-tests: New file.
Bruno Haible 404ce57f 2023-10-27T20:16:50 fenv-rounding: New module. * lib/fenv.in.h (fegetround, fesetround): New declarations. * lib/fenv-private.h: New file, based on glibc. * lib/fenv-round.c: New file, based on glibc. * m4/mathfunc.m4 (gl_MATHFUNC): Handle also the type fp_rnd. * m4/fenv-rounding.m4: New file. * modules/fenv (Depends-on): Add snippet/c++defs. (Makefile.am): Substitute $(CXXDEFS_H) into fenv.h. * modules/fenv-rounding: New file. * doc/posix-functions/fegetround.texi: Mention the new module. * doc/posix-functions/fesetround.texi: Likewise.
Bruno Haible 43516c1d 2023-10-27T20:02:27 tests: Use C99 initializer syntax for memory_long_double. * tests/test-isfinite.c (test_isfinitel): Use '.word = ...' syntax when initializing memory_long_double variables. * tests/test-isinf.c (test_isinfl): Likewise. * tests/test-isnan.c (test_long_double): Likewise. * tests/test-snprintf-posix.h (test_function): Likewise. * tests/test-sprintf-posix.h (test_function): Likewise. * tests/test-vasnprintf-posix.c (test_function): Likewise. * tests/test-vasnwprintf-posix.c (test_function): Likewise. * tests/test-vasprintf-posix.c (test_function): Likewise. * modules/isfinite-tests (Depends-on): Add c99. * modules/isinf-tests (Depends-on): Likewise. * modules/isnan-tests (Depends-on): Likewise. * modules/isnanl-nolibm-tests (Depends-on): Likewise. * modules/isnanl-tests (Depends-on): Likewise. * modules/pipe-filter-gi-tests (Depends-on): Likewise. * modules/pipe-filter-ii-tests (Depends-on): Likewise. * modules/snprintf-posix-tests (Depends-on): Likewise. * modules/sprintf-posix-tests (Depends-on): Likewise. * modules/vasnprintf-posix-tests (Depends-on): Likewise. * modules/vasnwprintf-posix-tests (Depends-on): Likewise. * modules/vasprintf-posix-tests (Depends-on): Likewise. * modules/vsnprintf-posix-tests (Depends-on): Likewise. * modules/vsprintf-posix-tests (Depends-on): Likewise.
Pádraig Brady 3f463202 2023-10-26T16:25:03 base32, base64: disallow non-canonical encodings Unconditionally disallow encodings that don't have appropriate zero bits before padding characters. This handles one class of encoding variations discussed at: https://eprint.iacr.org/2022/361.pdf Note the other variations discussed there, due to optional padding characters are already disallowed. * lib/base32.c: Check that discarded bits in the encoding are zero. * lib/base64.c: Likewise. * tests/test-base32.c: Add test cases. * tests/test-base64.c: Likewise.
Bruno Haible 3aac9531 2023-10-27T03:46:25 fenv: Add tests. * tests/test-fenv.c: New file. * modules/fenv-tests: New file.
Bruno Haible b536e9d3 2023-10-27T03:43:15 fenv: New module. * lib/fenv.in.h: New file, based on glibc. * m4/fenv_h.m4: New file. * modules/fenv: New file. * doc/posix-headers/fenv.texi: Mention the new module.
Paul Eggert e0ae1a7f 2023-10-25T14:38:10 base32: fix typo in previous commit * lib/base32.c (BASE32_INLINE): Rename from BASE64_INLINE.
Paul Eggert e15c7eab 2023-10-25T14:14:15 base32: new function isubase32; also, tune. * lib/base32.c (BASE32_INLINE): Define. (base32_to_int): Rename from b32 and make it extern. All uses changed. (uchar_in_range): Remove. All uses removed. (isbase32, base32_decode_ctx_init): Move to lib/base32.h and make inline. * lib/base32.h: Ignore -Wtype-limits, so that we needn’t worry about uchar_in_range. (BASE32_INLINE): Define, and use _GL_INLINE_HEADER_BEGIN. (isubase32): New function, useful as it as a different signature. (isbase32): Define in terms of isubase32. * modules/base32 (Depends-on): Add extern-inline.
Paul Eggert 48d0d5e9 2023-10-25T14:00:40 base64: new function isubase64; also, tune. * lib/base64.c (BASE64_INLINE): Define. (base64_to_int): Rename from b64 and make it extern. All uses changed. (uchar_in_range): Remove. All uses removed. (isbase64, base64_decode_ctx_init): Move to lib/base64.h and make inline. * lib/base64.h: Ignore -Wtype-limits, so that we needn’t worry about uchar_in_range. (BASE64_INLINE): Define, and use _GL_INLINE_HEADER_BEGIN. (isubase64): New function, useful as it as a different signature. (isbase64): Define in terms of isubase64. * modules/base64 (Depends-on): Add extern-inline.
Paul Eggert 6a6d70a3 2023-10-24T18:40:07 tests/unistr/u16-chr-tests: pacify -Wcast-align * tests/unistr/test-chr.h (main): Redo types to pacify gcc -Wcast-align.
Paul Eggert fd6870aa 2023-10-24T18:37:37 isnanl-tests, stdio-tests: pacify GCC -Wshadow * tests/test-isnanl.h (NWORDS): Remove. (memory_long_double): Do not redefine in an inner scope. All uses changed to use the snan.h memory_long_double. * tests/test-stdio.c (NWORDS): Remove. (memory_long_double): Do not redefine in an inner scope. The snan.h memory_long_double is fine here.
Paul Eggert 24582314 2023-10-24T18:33:44 explicit_bzero-tests: pacify GCC 13.2.1 * tests/test-explicit_bzero.c: * tests/test-memset_explicit.c: Ignore -Wdangling pointer.
Bruno Haible f8ce7e77 2023-10-23T02:04:03 memset_explicit, explicit_bzero tests: Fix test failures with new gcc. Reported by Sam James <sam@gentoo.org> in <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904>. Fix by Alexandre Oliva <aoliva@gcc.gnu.org>. * tests/test-memset_explicit.c (do_secret_stuff): Declare with attributes 'noclone' and 'noipa'. * tests/test-explicit_bzero.c (do_secret_stuff): Likewise.
Bruno Haible e1802a5c 2023-10-15T23:15:55 net_if tests: Fix gcc warning. * tests/test-net_if.c: Include <string.h>.
Bruno Haible 64209258 2023-10-15T23:12:44 mbspbrk: Fix gcc warning (regression 2023-09-26). * lib/mbspbrk.c (mbspbrk): Fix gcc warning in GNULIB_MCEL_PREFER mode.
Bruno Haible 2d845bd8 2023-10-15T23:03:59 pthread-spin: Fix warnings on FreeBSD 5.2.1/i386. * lib/pthread.in.h (pthread_spinlock_t): Override if <pthread.h> defines pthread_spinlock_t but we need to approximate spinlocks with mutexes. * m4/pthread-spin.m4 (gl_PTHREAD_SPIN): When the pthread_spin_* functions are declared but don't exist, mark them as REPLACEd.
Bruno Haible f7610114 2023-10-15T22:00:04 pthread-spin: Fix link errors on FreeBSD 5.2.1/i386. * m4/pthread-spin.m4 (gl_PTHREAD_SPIN): Test not only whether <pthread.h> defines the pthread_spinlock_t type, but also whether the function pthread_spin_init is actually defined.
Bruno Haible 7a10f54c 2023-10-15T21:57:26 pthread_mutex_timedlock: Fix link errors on FreeBSD 5.2.1/i386. * m4/pthread_mutex_timedlock.m4 (gl_FUNC_PTHREAD_MUTEX_TIMEDLOCK): Test not only whether pthread_mutex_timedlock is declared, but also whether it is actually defined.
Bruno Haible a82b963d 2023-10-15T21:55:28 threadlib: Fix link errors on FreeBSD 5.2.1/i386. * m4/threadlib.m4 (gl_PTHREADLIB_BODY): When pthread_kill could not be found in -lpthread, try -lthr.
Bruno Haible 5fe043ab 2023-10-15T19:10:29 lock: Make Autoconf macro more robust. * m4/pthread_rwlock_rdlock.m4 (gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER): Require gl_THREADLIB, not gl_THREADLIB_EARLY. Needed to get the value of LIBMULTITHREAD.
Bruno Haible eb12a778 2023-10-15T15:54:11 totalorder-bench-tests: New module. * tests/bench-totalorder.c: New file, based on tests/test-totalorder.h. * modules/totalorder-bench-tests: New file.
Bruno Haible 0e1db78e 2023-10-15T15:53:01 snan: Simplify a type. * lib/snan.h (memory_long_double): Put the 'value' field first. * tests/test-totalorder.h (main): No need for designated initializer syntax any more.
Bruno Haible 1c0fa149 2023-10-15T08:38:43 vma-iter: Fix compilation error on FreeBSD 5.2.1. * lib/vma-iter.c [FreeBSD]: Include <sys/param.h>.
Bruno Haible 645b803a 2023-10-14T23:45:40 totalorder*: Document glibc bug on SH4. * doc/posix-functions/totalorder.texi: Mention the glibc bug on SH4. * doc/posix-functions/totalorderf.texi: Likewise. * doc/posix-functions/totalorderl.texi: Likewise.
Bruno Haible 707a61b1 2023-10-14T21:50:49 totalorder*: Fix test failures on SH4. * lib/snan.h: Update comment. * lib/totalorderf.c (totalorderf): On sh4, invert bit 22 before comparing two NaNs. * lib/totalorder.c (totalorder): On sh4, invert bit 51 before comparing two NaNs. * lib/totalorderl.c (totalorderl): On sh4, invert bit 51 or 47 of the xhi, yhi parts before comparing two NaNs.
Bruno Haible 979149c7 2023-10-14T20:48:13 totalorder*: Fix test failures on PA-RISC and MIPS CPUs. * lib/totalorderf.c (totalorderf): On hppa and mips, invert bit 22 before comparing two NaNs. * lib/totalorder.c (totalorder): On hppa and mips, invert bit 51 before comparing two NaNs. * lib/totalorderl.c: Include <float.h>. (totalorderl): On hppa and mips, invert bit 51 or 47 of the xhi, yhi parts before comparing two NaNs. * modules/totalorderl (Depends-on): Add 'float'.
Bruno Haible 57b9775f 2023-10-14T20:43:47 totalorder* tests: Test also the signalling NaNs. * tests/test-totalorder.h: Include signed-snan.h. (main): Change the array initializer to contain memory_* objects rather than floating-point numbers. This is needed for i386 and x86_64 CPUs. * tests/test-totalorder.c (TOTALORDER_TYPE): Use memory_double. (TOTALORDER_HAVE_SNAN, TOTALORDER_POSITIVE_SNAN, TOTALORDER_NEGATIVE_SNAN): New macros. * tests/test-totalorderf.c (TOTALORDER_TYPE): Use memory_float. (TOTALORDER_HAVE_SNAN, TOTALORDER_POSITIVE_SNAN, TOTALORDER_NEGATIVE_SNAN): New macros. * tests/test-totalorderl.c (TOTALORDER_TYPE): Use memory_long_double. (TOTALORDER_HAVE_SNAN, TOTALORDER_POSITIVE_SNAN, TOTALORDER_NEGATIVE_SNAN): New macros. * modules/totalorder-tests (Depends-on): Add signed-snan. * modules/totalorderf-tests (Depends-on): Likewise. * modules/totalorderl-tests (Depends-on): Likewise.
Bruno Haible 24bdd76d 2023-10-14T20:43:43 totalorder* tests: Make it easier to debug failures. * tests/test-totalorder.h: Include <stdio.h>. (main): Print array indices of all failures.
Bruno Haible 2d1f993d 2023-10-14T20:43:39 totalorder* tests: Verify also the function signatures. * tests/test-totalorder.h: New file, based on tests/test-totalorder.c. * tests/test-totalorder.c: Check the signature. Include test-totalorder.h for the rest. * tests/test-totalorderf.c: Include <config.h>, <math.h>. Check the signature. Include test-totalorder.h instead of test-totalorder.c. * tests/test-totalorderl.c: Likewise. * modules/totalorder-tests (Files): Add test-totalorder.h, signature.h. * modules/totalorderf-tests (Files): Add test-totalorder.h, signature.h. Remove test-totalorder.c. * modules/totalorderl-tests (Files): Likewise.
Bruno Haible f4dd150d 2023-10-14T20:42:00 totalorder*: Improve documentation. * doc/posix-functions/totalorder.texi: Reference the specification. * doc/posix-functions/totalorderf.texi: Likewise. * doc/posix-functions/totalorderl.texi: Likewise.
Bruno Haible b2209aff 2023-10-14T20:38:49 snan, signed-snan: Add API that works also on x86 and x86_64 CPUs. * lib/snan.h (memory_float, memory_double, memory_long_double): New types. (construct_memory_SNaNf, memory_SNaNf, construct_memory_SNaNd, memory_SNaNd, construct_memory_SNaNl, memory_SNaNl): New functions. * lib/signed-snan.h (memory_positive_SNaNf, memory_negative_SNaNf, memory_positive_SNaNd, memory_negative_SNaNd, memory_positive_SNaNl, memory_negative_SNaNl): New functions.
Bruno Haible 095927d0 2023-10-14T20:36:37 snan tests: Fix "unused variable" warnings on i386. * tests/test-snan-1.c (main): Mark nanf, nand, nanl as possibly unused. * tests/test-snan-2.c (main): Likewise.
Bruno Haible d2ab89e9 2023-10-14T20:30:50 snan: Avoid test failures with CC="gcc -mfpmath=387". * tests/test-snan-1.c (main): Treat x86_64 CPU with __FLT_EVAL_METHOD__ == 2 like i386 CPU. Update comments. * tests/test-snan-2.c (main): Likewise.
Bruno Haible 68d5a63c 2023-10-14T12:34:25 snan: Fix the value of SNaNl() on i386, x86_64, ia64 CPUs. * lib/snan.h (construct_SNaNl): On i386, x86_64, ia64 CPUs, invert bit 62, not bit 63, of the mantissa. * m4/snan.m4 (gl_SNAN): Require gl_LONG_DOUBLE_VS_DOUBLE. * modules/snan (Files): Add m4/math_h.m4.
Bruno Haible c10222bd 2023-10-13T13:54:58 tests: Make use of signed signalling NaNs. * tests/test-signbit.c: Include signed-snan.h instead of snan.h. (test_signbitf): Test positive_SNaNf, negative_SNaNf, instead of only SNaNf. (test_signbitd): Test positive_SNaNd, negative_SNaNd, instead of only SNaNd. (test_signbitl): Test positive_SNaNl, negative_SNaNl, instead of only SNaNl. * tests/test-stdio.c: Include signed-snan.h instead of snan.h. (main): Test positive_SNaNd, negative_SNaNd, instead of only SNaNd. Also, test positive_NaNd, negative_NaNd, instead of NaNd. * modules/signbit-tests (Depends-on): Add signed-snan. Remove snan. * modules/stdio-tests (Depends-on): Likewise.
Bruno Haible 2f364b8d 2023-10-13T13:46:17 signed-snan: New module. * lib/snan.h (construct_SNaNf): New function, extracted from SNaNf. (SNaNf): Use it. (construct_SNaNd): New function, extracted from SNaNd. (SNaNd): Use it. (construct_SNaNl): New function, extracted from SNaNl. (SNaNl): Use it. * lib/signed-snan.h: New file. * modules/signed-snan: New file.
Bruno Haible 80f9860e 2023-10-13T13:05:06 signed-nan: New module, renamed from qnan. * lib/signed-nan.h: Renamed from lib/qnan.h. Update double-inclusion guard. * modules/signed-nan: Renamed from modules/qnan. Update. * tests/test-signbit.c: Update. * tests/test-stdio.c: Likewise. * tests/test-totalorder.c: Likewise. * modules/*-tests: Update.
Bruno Haible 6475d337 2023-10-13T13:57:45 snan: New module, part 2. * m4/snan.m4: New file.
Bruno Haible 03428e0d 2023-10-13T12:56:49 access: Fix test failure on native Windows. * lib/access.c (access): Do the trailing slash workaround also on native Windows. * modules/access (Depends-on): Add stat.
Bruno Haible 13017f5c 2023-10-13T12:05:29 isnanf, isnand: Fix conflict with Solaris <ieeefp.h>. * lib/math.in.h (isnanf, isnand): On Solaris and IRIX, declare this function, instead of defining it as a macro.
Bruno Haible 94c7aff8 2023-10-13T02:39:05 *printf tests: Test printing of signalling NaNs. These tests run without sigfpe_on_invalid(), therefore they won't crash. * tests/test-vasnprintf-posix.c: Include snan.h. (test_function): For each test case that uses NaNd or NaNl, add a test case with SNaNd or SNaNl, respectively. * tests/test-vasprintf-posix.c: Likewise. * tests/test-snprintf-posix.h: Likewise. * tests/test-sprintf-posix.h: Likewise. * tests/test-vasnwprintf-posix.c: Likewise. * modules/vasnprintf-posix-tests (Depends-on): Add snan. * modules/vasprintf-posix-tests (Depends-on): Likewise. * modules/vsnprintf-posix-tests (Depends-on): Likewise. * modules/snprintf-posix-tests (Depends-on): Likewise. * modules/vsprintf-posix-tests (Depends-on): Likewise. * modules/sprintf-posix-tests (Depends-on): Likewise. * modules/vasnwprintf-posix-tests (Depends-on): Likewise. * modules/pipe-filter-gi-tests (Depends-on): Likewise. * modules/pipe-filter-ii-tests (Depends-on): Likewise.
Bruno Haible e5118e04 2023-10-13T01:04:27 nan, snan tests: Avoid test failures. * tests/test-nan-1.c (main): Special handling of arm CPUs with software floating-point emulation. * tests/test-snan-1.c (main): Likewise. Disable tests that are known to fail. * tests/test-snan-2.c (main): Skip tests that are known to fail. * modules/snan-tests (Files): Add m4/math_h.m4. (configure.ac): Require gl_LONG_DOUBLE_VS_DOUBLE. * m4/math_h.m4 (gl_LONG_DOUBLE_VS_DOUBLE): Mention also NetBSD/sparc32.
Bruno Haible 43799ecb 2023-10-13T00:59:27 snan: Add tests. * tests/test-snan-1.c: New file. * tests/test-snan-2.sh: New file. * tests/test-snan-2.c: New file. * modules/snan-tests: New file.
Bruno Haible 3c26f061 2023-10-13T00:52:03 nan: Add tests. * tests/test-nan-1.c: New file. * tests/test-nan-2.c: New file. * modules/nan-tests: New file.
Bruno Haible a85649a3 2023-10-13T00:41:57 fpe-tracking, fpe-trapping: New modules. * lib/fpe-trapping.h: New file. * m4/mathfunc.m4 (gl_MATHFUNC): Handle also the type fp_except_t. * m4/fpe.m4: New file. * modules/fpe-tracking: New file. * modules/fpe-trapping: New file.
Bruno Haible 43a50de4 2023-10-12T22:15:44 snan: Comments. * lib/snan.h: Add more comments.
Bruno Haible 815a9ce5 2023-10-12T21:46:13 snan: New module. * lib/snan.h: Renamed from tests/snan.h. Add double-inclusion guard. * modules/snan: New file. * isfinite-tests (Files): Remove tests/snan.h, m4/exponent*.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_FLOAT_EXPONENT_LOCATION, gl_DOUBLE_EXPONENT_LOCATION, gl_LONG_DOUBLE_EXPONENT_LOCATION. * isinf-tests (Files): Remove tests/snan.h, m4/exponent*.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_FLOAT_EXPONENT_LOCATION, gl_DOUBLE_EXPONENT_LOCATION, gl_LONG_DOUBLE_EXPONENT_LOCATION. * isnan-tests (Files): Remove tests/snan.h, m4/exponent*.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_FLOAT_EXPONENT_LOCATION, gl_DOUBLE_EXPONENT_LOCATION, gl_LONG_DOUBLE_EXPONENT_LOCATION. * isnanf-nolibm-tests (Files): Remove tests/snan.h, m4/exponentf.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_FLOAT_EXPONENT_LOCATION. * isnanf-tests (Files): Remove tests/snan.h, m4/exponentf.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_FLOAT_EXPONENT_LOCATION. * isnand-nolibm-tests (Files): Remove tests/snan.h, m4/exponentd.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_DOUBLE_EXPONENT_LOCATION. * isnand-tests (Files): Remove tests/snan.h, m4/exponentd.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_DOUBLE_EXPONENT_LOCATION. * isnanl-nolibm-tests (Files): Remove tests/snan.h, m4/exponentl.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_LONG_DOUBLE_EXPONENT_LOCATION. * isnanl-tests (Files): Remove tests/snan.h, m4/exponentl.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_LONG_DOUBLE_EXPONENT_LOCATION. * signbit-tests (Files): Remove tests/snan.h, m4/exponent*.m4. (Depends-on): Add snan. (configure.ac): Don't invoke gl_FLOAT_EXPONENT_LOCATION, gl_DOUBLE_EXPONENT_LOCATION, gl_LONG_DOUBLE_EXPONENT_LOCATION. * stdio-tests (Files): Remove tests/snan.h (Depends-on): Add snan.
Bruno Haible a5dbfe68 2023-10-12T21:12:53 qnan: New module. * lib/qnan.h: Renamed from tests/qnan.h. Add double-inclusion guard. * modules/qnan: New file. * modules/signbit-tests (Files): Remove tests/qnan.h. (Depends-on): Add qnan. Remove nan. * modules/stdio-tests (Files): Remove tests/qnan.h. (Depends-on): Add qnan. Remove nan. * modules/totalorder-tests (Files): Remove tests/qnan.h. (Depends-on): Add qnan. Remove nan, signbit. * modules/totalorderf-tests (Files): Remove tests/qnan.h. (Depends-on): Add qnan. Remove nan, signbit. * modules/totalorderl-tests (Files): Remove tests/qnan.h. (Depends-on): Add qnan. Remove nan, signbit.
Bruno Haible 8c3d2d19 2023-10-12T20:59:58 nan: New module. * lib/nan.h: Renamed from tests/nan.h. Change double-inclusion guard. * modules/nan: New file. * modules/*-tests: Depend on this module instead of embedding tests/nan.h.
Bruno Haible 9d18cdba 2023-10-11T16:43:07 unictype/category-and-not: Add more tests. Suggested by Arindam Sharma <arindam.sharma@imperial.ac.uk>. * tests/unictype/test-categ_and_not.c (main): Add two more test cases. * modules/unictype/category-and-not-tests (Depends-on): Add unictype/category-Cc.
Bruno Haible d0355fa5 2023-10-09T11:04:44 tests: Refactor functions for signalling NaNs. * tests/snan.h: New file, based on tests/test-isnanf.h, tests/test-isnand.h, tests/test-isnanl.h. * tests/test-isfinite.c: Include snan.h. (test_isfinitef, test_isfinited, test_isfinitel): Simplify. * tests/test-isinf.c: Include snan.h. (test_isinff, test_isinfd, test_isinfl): Simplify. * tests/test-isnan.c: Include snan.h. (test_float, test_double, test_long_double): Simplify. * tests/test-isnanf.h: Include snan.h. (main): Simplify. * tests/test-isnand.h: Include snan.h. (main): Simplify. * tests/test-isnanl.h: Include snan.h. (main): Simplify. * tests/test-signbit.c: Include snan.h. (test_signbitf, test_signbitd, test_signbitl): Simplify. * tests/test-stdio.c: Include qnan.h, snan.h instead of nan.h. (main): Test quiet NaNs always. Also test a signalling NaN. * modules/isfinite-tests (Files): Add tests/nan.h, tests/snan.h. * modules/isinf-tests (Files): Likewise. * modules/isnan-tests (Files): Add tests/snan.h. * modules/isnanf-tests (Files): Likewise. * modules/isnanf-nolibm-tests (Files): Likewise. * modules/isnand-tests (Files): Likewise. * modules/isnand-nolibm-tests (Files): Likewise. * modules/isnanl-tests (Files): Likewise. * modules/isnanl-nolibm-tests (Files): Likewise. * modules/signbit-tests (Files): Likewise. * modules/stdio-tests (Files): Add tests/qnan.h, tests/snan.h.
Bruno Haible 2a08b56b 2023-10-08T09:59:03 isfinite: Work around a bug with 'long double' in glibc 2.5/ia64. * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Require gl_LONG_DOUBLE_EXPONENT_LOCATION. Test also another NaN value. * modules/isfinite (Files): Add m4/exponentl.m4. * doc/posix-functions/isfinite.texi: Mention also a 'long double' problem on ia64.
Bruno Haible 46e4b5e5 2023-10-07T15:09:23 tests: Refactor functions for quiet NaNs. * tests/qnan.h: New file, based on tests/totalorder.c. * tests/nan.h: Add double-inclusion guard. * tests/test-signbit.c: Include qnan.h. (test_signbitf, test_signbitd, test_signbitl): Simplify. * tests/test-totalorder.c: Include qnan.h instead of NaN.h. (TOTALORDER_NAN): Remove macro. (TOTALORDER_POSITIVE_NAN, TOTALORDER_NEGATIVE_NAN): New macros. (positive_nan, negative_nan): Remove functions. (main): Update. * tests/test-totalorderf.c (TOTALORDER_NAN): Remove macro. (TOTALORDER_POSITIVE_NAN, TOTALORDER_NEGATIVE_NAN): New macros. * tests/test-totalorderl.c (TOTALORDER_NAN): Remove macro. (TOTALORDER_POSITIVE_NAN, TOTALORDER_NEGATIVE_NAN): New macros. * modules/signbit-tests (Files): Add tests/nan.h, tests/qnan.h. * modules/totalorder-tests (Files): Add tests/qnan.h. (Depends-on): Add signbit. * modules/totalorderf-tests (Files): Add tests/qnan.h. (Depends-on): Add signbit. * modules/totalorderl-tests (Files): Add tests/qnan.h. (Depends-on): Add signbit.
Bruno Haible 3ca74936 2023-10-07T12:49:15 totalorder*: Fix compilation error on glibc 2.25..2.30. * m4/totalorder.m4 (gl_FUNC_TOTALORDERF): Test whether <math.h> has an incompatible declaration of totalorderf, and set REPLACE_TOTALORDERF to 1 if so. (gl_FUNC_TOTALORDER): Test whether <math.h> has an incompatible declaration of totalorder, and set REPLACE_TOTALORDER to 1 if so. (gl_FUNC_TOTALORDERL): Test whether <math.h> has an incompatible declaration of totalorderl, and set REPLACE_TOTALORDERL to 1 if so.
Bruno Haible 3f7dd45c 2023-10-07T11:42:00 isnan: Avoid dangerous shell coding pattern. * m4/isnand.m4 (gl_FUNC_ISNAND): Use 'test -n "$arg"', not 'test "$arg"'. * m4/isnanf.m4 (gl_FUNC_ISNANF): Likewise. * m4/isnanl.m4 (gl_FUNC_ISNANL): Likewise.
Bruno Haible be250a8b 2023-10-05T22:39:52 doc: Mention xstrerror. * doc/posix-functions/strerror_r.texi: Mention xstrerror.
Bruno Haible 70c869be 2023-10-05T18:02:26 xstrerror: Add tests. * tests/test-xstrerror.c: New file. * modules/xstrerror-tests: New file.
Bruno Haible 6d20768e 2023-10-05T18:01:05 xstrerror: New module. * lib/xstrerror.h: New file. * lib/xstrerror.c: New file. * modules/xstrerror: New file. * modules/strerror_r-posix (configure.ac): Update comment.
Paul Eggert 5c2b69a4 2023-10-05T12:22:07 isnan: slightly simplify configuration * m4/isnand.m4 (gl_FUNC_ISNAND): * m4/isnanf.m4 (gl_FUNC_ISNANF): * m4/isnanl.m4 (gl_FUNC_ISNANL): Slightly simplify shell ‘if’. This should simplify future changes.
Paul Eggert 67c9d377 2023-10-05T12:19:08 totalorder: speed up configuration * m4/totalorder.m4 (gl_FUNC_TOTALORDERF, gl_FUNC_TOTALORDER) (gl_FUNC_TOTALORDERL): Avoid unnecessary call to AC_SEARCH_LIBS, since the information is already available in shell vars.
Paul Eggert 9fab6442 2023-10-05T11:43:37 totalorderl: minor porting fixes * lib/totalorderl.c (LDBL_SIGNBIT_WORD): Define to -1 if not defined. (totalorderl): Avoid unused local zu by preferring ‘if’ to ‘ifdef’. Don’t assume sizeof (unsigned long long) == 2 * sizeof (unsigned).
Bruno Haible d91a0392 2023-10-04T13:35:11 totalorder* tests: Refactor. * tests/test-totalorder.c (positive_nan, negative_nan): New functions, extracted from main. (main): Use them when initializing the array.
Bruno Haible 864b6557 2023-10-04T13:12:53 totalorderl: Optimize. * modules/totalorderl (Files): Add m4/signbit.m4. * m4/totalorder.m4 (gl_FUNC_TOTALORDERL): Invoke gl_LONG_DOUBLE_SIGN_LOCATION. * lib/totalorderl.c (totalorderl): If LDBL_SIGNBIT_WORD is known, use it, so that 'bigendian' becomes a constant.
Bruno Haible 8ac6cd09 2023-10-04T12:47:23 totalorderl: Work around Solaris cc bug. * lib/totalorderl.c (totalorderl): Initialize xu, yu, zu using a different syntax.
Bruno Haible d34f5dcb 2023-10-04T10:20:22 signbit tests: Strengthen tests. * tests/test-signbit.c (test_signbitf, test_signbitd, test_signbitl): Test the sign bit both of a NaN value and of its negative.
Bruno Haible 808c6b01 2023-10-04T00:55:14 doc: Document portability of __VA_ARGS__. * doc/gnulib-readme.texi (C99 features assumed): Add a note about __VA_ARGS__.
Bruno Haible 3ecee316 2023-10-04T00:30:28 ilogb: Document a Mac OS X bug. * doc/posix-functions/ilogb.texi: Mention a bug that affects Mac OS X. * m4/ilogb.m4 (gl_FUNC_ILOGB): Update comments.
Bruno Haible f5c688cf 2023-10-03T23:27:30 *printf-posix: Work around bug with %#.0x on Mac OS X 10.6. * lib/vasnprintf.c (VASNPRINTF): Enable NEED_PRINTF_UNBOUNDED_PRECISION- guarded code also for NEED_PRINTF_FLAG_ALT_PRECISION_ZERO. Set prec_ourselves to 1 if NEED_PRINTF_FLAG_ALT_PRECISION_ZERO, precision is 0, and the directive is 'x' or 'X'. If prec_ourselves, remove the "0" output if required. * m4/printf.m4 (gl_PRINTF_FLAG_ALT_PRECISION_ZERO): New macro. * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_FLAG_ALT_PRECISION_ZERO): New macro. (gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS): Invoke it. * m4/dprintf-posix.m4 (gl_FUNC_DPRINTF_IS_POSIX): Require gl_PRINTF_FLAG_ALT_PRECISION_ZERO and test its result. * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_IS_POSIX): Likewise. * m4/obstack-printf-posix.m4 (gl_FUNC_OBSTACK_PRINTF_IS_POSIX): Likewise. * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_IS_POSIX): Likewise. * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_IS_POSIX): Likewise. * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_IS_POSIX): Likewise. * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_IS_POSIX): Likewise. * m4/vdprintf-posix.m4 (gl_FUNC_VDPRINTF_IS_POSIX): Likewise. * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_IS_POSIX): Likewise. * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_IS_POSIX): Likewise. * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_IS_POSIX): Likewise. * doc/glibc-functions/asprintf.texi: Mention the %#.0x bug. * doc/glibc-functions/obstack_printf.texi: Likewise. * doc/glibc-functions/obstack_vprintf.texi: Likewise. * doc/glibc-functions/vasprintf.texi: Likewise. * doc/posix-functions/dprintf.texi: Likewise. * doc/posix-functions/fprintf.texi: Likewise. * doc/posix-functions/fwprintf.texi: Likewise. * doc/posix-functions/printf.texi: Likewise. * doc/posix-functions/snprintf.texi: Likewise. * doc/posix-functions/sprintf.texi: Likewise. * doc/posix-functions/swprintf.texi: Likewise. * doc/posix-functions/vdprintf.texi: Likewise. * doc/posix-functions/vfprintf.texi: Likewise. * doc/posix-functions/vfwprintf.texi: Likewise. * doc/posix-functions/vprintf.texi: Likewise. * doc/posix-functions/vsnprintf.texi: Likewise. * doc/posix-functions/vsprintf.texi: Likewise. * doc/posix-functions/vswprintf.texi: Likewise. * doc/posix-functions/vwprintf.texi: Likewise. * doc/posix-functions/wprintf.texi: Likewise.
Bruno Haible 589b1580 2023-10-03T19:06:00 faccessat tests: Strengthen tests. * tests/test-faccessat.c (main): Test other modes than F_OK. Check errno values.