m4

Branch


Log

Author Commit Date CI Message
Paul Eggert 39540147 2025-10-23T23:10:44 doc: allow for _FORTIFY_SOURCE = 3 Problem reported by Basil L. Contovounesios in: https://lists.gnu.org/r/bug-gnulib/2025-10/msg00068.html
Bruno Haible 19141077 2025-10-20T21:13:39 glob: Add support for Android. Reported by Collin Funk in <https://lists.gnu.org/archive/html/bug-gnulib/2025-10/msg00054.html>. * m4/glob.m4 (gl_GLOB): On Android, skip a test that assumes that /bin/sh exists. Update cross-compilation guess. * tests/test-glob.c (main): On Android, skip a test that assumes that /bin/sh exists. * doc/posix-functions/glob.texi: Mention also Android.
Bruno Haible edaba33e 2025-10-15T15:16:59 glob: Fix test failure on Cygwin. * m4/glob.m4 (gl_GLOB): Add a second test case. * doc/posix-functions/glob.texi: Mention Cygwin.
Collin Funk 0acb69c4 2025-10-14T18:10:48 glob: Ensure --enable-cross-guesses is obeyed (regr. yesterday). Reported by Bruno Haible in <https://lists.gnu.org/archive/html/bug-gnulib/2025-10/msg00041.html>. * m4/glob.m4 (gl_GLOB): Set gl_cv_glob_overflows_stack on platforms other than glibc.
Collin Funk f1a18f6f 2025-10-10T22:34:19 glob: Prevent a stack overflow with many slashes. * lib/glob.c (__glob): Strip trailing slashes before making the recursive call. * m4/glob.m4 (gl_GLOB): Check for the glibc bug. * doc/posix-functions/glob.texi: Mention the bug.
Bruno Haible 44f0c353 2025-10-11T02:56:32 Correct indentation in last commits. * m4/getdelim.m4 (gl_FUNC_GETDELIM): Correct indentation. * m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
Collin Funk 3ac88aeb 2025-10-09T20:41:09 getline: Work around a glibc bug. * m4/getline.m4 (gl_FUNC_GETLINE): Check that the buffer is terminated with a NUL character when the first character read is EOF. Guess that the function does not work on glibc. * doc/posix-functions/getline.texi: Mention the bug.
Collin Funk c06522b1 2025-10-09T20:36:15 getdelim: Work around a glibc bug. * m4/getdelim.m4 (gl_FUNC_GETDELIM): Check that the buffer is terminated with a NUL character when the first character read is EOF. Guess that the function does not work on glibc. * doc/posix-functions/getdelim.texi: Mention the bug.
Karl Berry 19afd3f3 2025-09-24T08:25:57 autoupdate
Paul Eggert f657c55c 2025-09-22T16:41:41 fchownat: improve on test failure fix * lib/fchownat.c (rpl_fchownat): Clear the flag only if the trailing slash check needs to be made. Do this before checking for the nofollow bug, to avoid the need for the fork+chdir+lchown dance in that case. Move the empty-filename check earlier, so that its file[0] check can more easily be combined with the trailing slash check. * m4/chown.m4, m4/fchownat.m4, modules/fchownat: Revert most recent change.
Bruno Haible 4e944641 2025-09-22T13:44:06 fchownat: Fix test failure on OpenBSD and Cygwin 2.9 (regr. 2025-09-20). * doc/posix-functions/fchownat.texi: Document that the dereferencing bug also affects OpenBSD and Cygwin 2.9. * m4/chown.m4 (gl_FUNC_CHOWN_CTIME): New macro, extracted from gl_FUNC_CHOWN. (gl_FUNC_CHOWN): Invoke it. * m4/fchownat.m4 (gl_FUNC_FCHOWNAT_DEREF_BUG): Guess that a platform that has the chown ctime bug also has the fchownat AT_SYMLINK_NOFOLLOW bug. * modules/fchownat (Files): Add m4/chown.m4.
Bruno Haible d947a2d9 2025-09-22T00:00:40 pthread-once: Improve configuration. * m4/pthread-once.m4 (gl_PTHREAD_ONCE): Use a configure test to determine whether linking with $(LIBPMULTITHREAD) is necessary.
Bruno Haible eb2c639c 2025-09-21T20:59:20 chown, lchown: Fix regression on Cygwin 2.9.0 (regression today). * m4/chown.m4 (AC_FUNC_CHOWN): Restore the previous configure-time test on OpenBSD and Cygwin platforms. * doc/posix-functions/chown.texi: Update platforms list.
Paul Eggert 12171837 2025-09-21T09:28:00 chown: simplify CHOWN_CHANGE_TIME_BUG checking * m4/chown.m4 (AC_FUNC_CHOWN): Just use $host_os when checking for CHOWN_CHANGE_TIME_BUG. This should be good enough for currently supported Gnulib targets.
Paul Eggert 162ce0b7 2025-09-21T07:55:00 fchownat: fix security races and other bugs This fixes some unlikely security races, where our “no-op” chmod undid some other process’s chmod. Ironically this bug occurred on OpenBSD, our most paranoid target. This patch also fixes some EOVERFLOW bugs, along with a performance bug and a CHOWN_CHANGE_TIME_BUG with fchownat. * lib/chown.c, lib/fchownat.c, lib/lchown.c: Remove unnecessary inconsistencies. Include stat-time.h. (CHOWN_CHANGE_TIME_BUG, CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE) (CHOWN_MODIFIES_SYMLINK, CHOWN_TRAILING_SLASH_BUG): Default to 0, and prefer ‘if (...)’ to ‘#ifdef ...’. (utimensat) [!HAVE_UTIMENSAT]: Default to a no-op. (rpl_chown, rpl_fchownat, rpl_lchown): Prefer ‘if (...)’ to ‘#ifdef ...’. Statically, call the stat-like and chown-like functions just once. Do not fail if the stat-like function fails with EOVERFLOW, if existence is all we care about. Use utimensat to update ctime, instead of a chmod-like function. * lib/fchownat.c (rpl_fchownat): Defend against OpenBSD’s CHOWN_CHANGE_TIME_BUG. This bug in rpl_fchownat was exposed by yesterday’s fix that caused rpl_fchownat to call fchownat instead of using the tricky old fork/chdir business. * m4/chown.m4 (gl_FUNC_CHOWN): Check for utimensat if the ctime bug is present. * modules/chown, modules/lchown, modules/fchownat: (Depends-on): Add stat-time.
Bruno Haible f7b84b35 2025-09-21T08:24:38 pthread-once: Fix link error on glibc < 2.34 systems (regr. yesterday). * m4/pthread-once.m4 (gl_PTHREAD_ONCE): Use $LIBPMULTITHREAD also on glibc systems.
Collin Funk cfef893b 2025-09-20T22:45:29 sig2str: Port to Android API level 36. * m4/sig2str.m4 (gl_FUNC_SIG2STR): Use gl_CHECK_FUNCS_ANDROID to check for sig2str and str2sig instead of AC_CHECK_FUNCS. * doc/posix-functions/sig2str.texi: Document that the function is missing on Android API 35 and lower. * doc/posix-functions/str2sig.texi: Likewise.
Collin Funk c751b471 2025-09-20T22:41:16 qsort_r: Port to Android API level 36. * m4/qsort_r.m4 (gl_FUNC_QSORT_R): Use gl_CHECK_FUNCS_ANDROID to check for qsort_r instead of AC_CHECK_FUNCS_ONCE. * doc/glibc-functions/qsort_r.texi: Document that the function is missing on Android API 35 and lower.
Collin Funk 4bdd70e3 2025-09-20T22:36:22 lchmod: Port to Android API level 36. * m4/lchmod.m4 (gl_FUNC_LCHMOD): Use gl_CHECK_FUNCS_ANDROID to check for lchmod instead of AC_CHECK_FUNCS_ONCE. * m4/lchown.m4 (gl_FUNC_LCHOWN): Likewise. * doc/glibc-functions/lchmod.texi (lchmod): Document that the function is missing on Android API 35 and lower.
Bruno Haible d941c98d 2025-09-21T02:11:03 pthread-once: Reduce link dependencies. Linking with -lpthread is not needed on musl libc, macOS, NetBSD, Solaris, Cygwin, Haiku, Android. Reported by Michael Osipov <michael.osipov@innomotics.com> and Tijl Coosemans <tijl@FreeBSD.org> in <https://lists.gnu.org/archive/html/bug-gettext/2025-09/msg00019.html>. * m4/pthread-once.m4 (gl_PTHREAD_ONCE): Require gl_PTHREADLIB. Set PTHREAD_ONCE_LIB. * modules/pthread-once (Link): Link with $(PTHREAD_ONCE_LIB) instead of $(LIBPMULTITHREAD). * modules/pthread-once-tests (Makefile.am): Update accordingly.
Bruno Haible 8ebd5a9a 2025-09-20T15:49:50 nl_langinfo: Work around nl_langinfo multithread-safety bug on macOS 26. * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): Set NL_LANGINFO_MTSAFE to 0 on macOS. * lib/nl_langinfo.c (ITEMS): Define appropriately on macOS. * doc/posix-functions/nl_langinfo.texi: Document the macOS bug.
Paul Eggert c48ee317 2025-09-20T00:25:52 fchownat: fix missing HAVE_FCHOWNAT * m4/fchownat.m4 (gl_FUNC_FCHOWNAT): Use AC_CHECK_FUNCS instead of AC_CHECK_FUNC, so that we define HAVE_FCHOWNAT if fchownat exists. lib/fchownat.c uses HAVE_FCHOWNAT in some cases.
Bruno Haible 153cf1ab 2025-09-18T20:57:26 stack-trace: Add support for Oracle DeveloperStudio cc. * m4/stack-trace.m4 (gl_STACK_TRACE_EARLY): Use option '-Wl,-export-dynamic' instead of '-rdynamic'.
Bruno Haible 8c4f03e9 2025-09-17T22:11:16 threadlib: Improve support for HP-UX. * m4/threadlib.m4 (gl_ANYTHREADLIB_EARLY): Define _REENTRANT also on HP-UX.
Bruno Haible b9f48580 2025-09-17T22:05:22 stringeq: Make use of Autoconf more reliable. * m4/stringeq.m4: New file. * modules/stringeq (Files): Add it. (configure.ac): Don't set HAVE_DECL_MEMEQ, HAVE_DECL_STREQ. Instead, invoke gl_FUNC_STREQ and gl_FUNC_MEMEQ.
Paul Eggert 6b7a9996 2025-09-17T10:11:02 stringeq: port to platforms declaring memeq, streq Work even if the system <string.h> declares memeq and streq. Current standards allow systems to do that, and we hope future systems will do it. * lib/string.in.h (memeq) [HAVE_DECL_MEMEQ]: Do not define. (streq) [HAVE_DECL_STREQ]: Do not define. * m4/string_h.m4 (gl_STRING_H_DEFAULTS): Default HAVE_DECL_MEMEQ, HAVE_DECL_STREQ. * modules/string-h (string-h): Substitute HAVE_DECL_MEMEQ, HAVE_DECL_STREQ. * modules/stringeq (configure.ac): Define HAVE_DECL_MEMEQ, HAVE_DECL_STREQ.
Paul Eggert 60b0949c 2025-09-16T14:34:11 stringeq: new module * MODULES.html.sh (func_all_modules): Add stringeq. * lib/string.c, modules/stringeq: New files. * lib/string.in.h: Use _GL_INLINE-related macros. (memeq, streq): New functions, if stringeq module is in use. * m4/string_h.m4 (gl_STRING_H_REQUIRE_DEFAULTS): New var GNULIB_STRINGEQ. * modules/string-h (string.h): Substitute GNULIB_STRINGEQ.
Bruno Haible 8d868202 2025-09-15T18:09:03 threadlib: Omit unsupported configure option. Reported by Michael Osipov <michael.osipov@innomotics.com> in <https://lists.gnu.org/archive/html/bug-gettext/2025-09/msg00009.html>. * m4/threadlib.m4 (gl_THREADLIB_EARLY_BODY): If libtool is in use, don't display the --disable-threads option.
Bruno Haible 0f6c3055 2025-09-14T03:06:51 gettext-h: Avoid -Wtrailing-whitespace in a better way. * m4/gettext_h.m4: New file, extracted from modules/gettext-h. Add back the newline at the end of the AH_BOTTOM argument. * modules/gettext-h (Files): Add it. (configure.ac): Invoke gl_GETTEXT_H.
Bruno Haible ef6d228c 2025-09-11T14:38:39 pagealign_alloc, vma-prot tests: Fix use of HAVE_MMAP (regr. yesterday). * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Test for sys/mman.h. Use ac_cv_header_sys_mman_h instead of gl_have_mmap. * lib/pagealign_alloc.c: Test HAVE_SYS_MMAN_H instead of HAVE_MMAP. * tests/test-vma-prot.c: Likewise.
Bruno Haible b1fcec6d 2025-09-10T23:22:53 Remove support for IRIX. * all-modules: Update comments. * build-aux/install-reloc: Likewise. * build-aux/reloc-ldflags: Likewise. * gnulib-tool: Likewise. * gnulib-tool.py: Likewise. * gnulib-tool.sh: Likewise. * lib/aligned-malloc.h: Likewise. * lib/boot-time.c: Likewise. * lib/c32is-impl.h: Likewise. * lib/c32srtombs-state.c: Likewise. * lib/c32to-impl.h: Likewise. * lib/c32width.c: Likewise. * lib/errno.in.h: Likewise. * lib/euidaccess.c: Likewise. * lib/fbufmode.c: Likewise. * lib/fenv-except-state-get.c: Likewise. * lib/fenv-except-state-set.c: Likewise. * lib/fenv-except-tracking-clear.c: Likewise. * lib/fenv-except-tracking-set.c: Likewise. * lib/fenv-except-tracking-test.c: Likewise. * lib/fenv-except-trapping.c: Likewise. * lib/fenv-round.c: Likewise. * lib/fflush.c: Likewise. * lib/fileblocks.c: Likewise. * lib/forkpty.c: Likewise. * lib/fpending.c: Likewise. * lib/fpurge.c: Likewise. * lib/freadable.c: Likewise. * lib/freadahead.c: Likewise. * lib/freading.c: Likewise. * lib/freadptr.c: Likewise. * lib/freadseek.c: Likewise. * lib/fseeko.c: Likewise. * lib/fseterr.c: Likewise. * lib/fsusage.c: Likewise. * lib/fwritable.c: Likewise. * lib/fwriting.c: Likewise. * lib/getdomainname.c: Likewise. * lib/idpriv-drop.c: Likewise. * lib/idpriv-droptemp.c: Likewise. * lib/limits.in.h: Likewise. * lib/mbrtoc16.c: Likewise. * lib/mbrtoc32.c: Likewise. * lib/mbsrtoc32s-state.c: Likewise. * lib/mbsrtowcs-state.c: Likewise. * lib/mbtowc-lock.h: Likewise. * lib/minmax.h: Likewise. * lib/netdb.in.h: Likewise. * lib/pipe-filter-ii.c: Likewise. * lib/posix_openpt.c: Likewise. * lib/ptsname_r.c: Likewise. * lib/readutmp.c: Likewise. * lib/readutmp.h: Likewise. * lib/resource-ext.h: Likewise. * lib/safe-read.h: Likewise. * lib/safe-write.h: Likewise. * lib/save-cwd.c: Likewise. * lib/stdbool.in.h: Likewise. * lib/striconv.c: Likewise. * lib/striconveh.c: Likewise. * lib/termcap.h: Likewise. * lib/terminfo.h: Likewise. * lib/unistd.in.h: Likewise. * lib/vasnprintf.c: Likewise. * lib/wcrtomb.c: Likewise. * lib/wcsrtombs-state.c: Likewise. * m4/fenv-environment.m4: Likewise. * m4/fenv-exceptions-state.m4: Likewise. * m4/fenv-exceptions-tracking.m4: Likewise. * m4/fenv-rounding.m4: Likewise. * m4/fmod.m4: Likewise. * m4/getdomainname.m4: Likewise. * m4/getloadavg.m4: Likewise. * m4/getopt.m4: Likewise. * m4/hypot.m4: Likewise. * m4/hypotf.m4: Likewise. * m4/hypotl.m4: Likewise. * m4/iconv.m4: Likewise. * m4/intl-thread-locale.m4: Likewise. * m4/largefile.m4: Likewise. * m4/libdl.m4: Likewise. * m4/locale-ja.m4: Likewise. * m4/locale_h.m4: Likewise. * m4/log.m4: Likewise. * m4/log10.m4: Likewise. * m4/log10f.m4: Likewise. * m4/logf.m4: Likewise. * m4/modf.m4: Likewise. * m4/modff.m4: Likewise. * m4/modfl.m4: Likewise. * m4/pthread-rwlock.m4: Likewise. * m4/semaphore.m4: Likewise. * m4/socklen.m4: Likewise. * m4/stdint.m4: Likewise. * m4/strtod.m4: Likewise. * m4/strtof.m4: Likewise. * m4/strtold.m4: Likewise. * modules/sigsegv: Likewise. * posix-modules: Likewise. * pygnulib/GLImport.py: Likewise. * tests/init.sh: Likewise. * tests/test-echo.sh: Likewise. * tests/test-isatty.c: Likewise. * tests/test-math-h.c: Likewise. * tests/test-nonblocking-pipe.h: Likewise. * tests/test-nonblocking-socket.h: Likewise. * tests/test-strtod.h: Likewise. * tests/test-strtof.h: Likewise. * tests/test-strtold.h: Likewise. * tests/test-vasnprintf.c: Likewise. * tests/test-vasnwprintf.c: Likewise.
Bruno Haible c5753f1b 2025-09-10T23:18:40 wchar-h: Remove support for IRIX. * lib/wchar.in.h: Don't set or test _@GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H. (rpl_mbstate_t): Remove type. (wctob): Test HAVE_WCTOB instead of HAVE_DECL_WCTOB. * m4/wchar_h.m4 (gl_WCHAR_H_DEFAULTS): Initialize HAVE_WCTOB instead of HAVE_DECL_WCTOB. * modules/wchar-h (Makefile.am): Substitute HAVE_WCTOB instead of HAVE_DECL_WCTOB. * m4/wctob.m4 (gl_FUNC_WCTOB): Don't set HAVE_DECL_WCTOB.
Bruno Haible 90af7363 2025-09-10T23:18:04 threadlib: Remove support for IRIX. * m4/threadlib.m4 (gl_PTHREADLIB_BODY): Assume that pthread_mutexattr_init and pthread_mutex_lock are defined in the same library.
Bruno Haible c43fdd09 2025-09-10T23:15:28 setlocale-null: Remove support for IRIX. * m4/setlocale_null.m4 (gl_FUNC_SETLOCALE_NULL): Remove code for IRIX.
Bruno Haible e05717ed 2025-09-10T23:14:54 ptsname_r: Remove support for IRIX. * m4/ptsname_r.m4 (gl_PREREQ_PTSNAME_R): Remove cross-compilation guess for IRIX.
Bruno Haible 677a07cb 2025-09-10T23:14:22 pthread_sigmask: Remove support for IRIX. * lib/pthread_sigmask.c: Remove workaround for PTHREAD_SIGMASK_UNBLOCK_BUG. * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Remove test against IRIX bug.
Bruno Haible 25bc4447 2025-09-10T23:13:46 *printf-posix: Remove support for IRIX. * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS, gl_PRINTF_ENOMEM, gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_DIRECTIVE_N, gl_VSNPRINTF_ZEROSIZE_C99): Remove cross-compilation guesses for IRIX.
Bruno Haible 96201bf2 2025-09-10T23:13:29 physmem: Remove support for IRIX. * lib/physmem.c: Remove code for IRIX. * m4/physmem.m4 (gl_PHYSMEM): Don't test for <sys/sysmp.h> and sysmp.
Bruno Haible d0fdb109 2025-09-10T23:13:08 openpty: Remove support for IRIX. * lib/openpty.c (openpty): Remove code for IRIX. * m4/pty.m4 (gl_FUNC_OPENPTY): Don't test for _getpty.
Bruno Haible c90fbdf7 2025-09-10T23:12:33 nproc: Remove support for IRIX. * lib/nproc.c: Remove code for IRIX. * m4/nproc.m4 (gl_PREREQ_NPROC): Don't test for <sys/sysmp.h> and sysmp.
Bruno Haible 7a398ea9 2025-09-10T23:11:56 mprotect: Remove support for IRIX. * m4/mprotect.m4 (gl_FUNC_MPROTECT_WORKS): Remove cross-compilation guess for IRIX.
Bruno Haible b9b5e75e 2025-09-10T23:11:28 mountlist: Remove support for IRIX. * m4/mountlist.m4 (gl_MOUNTLIST): Update description of MOUNTED_GETMNTENT1. * lib/mountlist.c (ME_DUMMY_0): Don't test for file system type "ignore".
Bruno Haible cdccee61 2025-09-10T23:11:16 mktime: Remove support for IRIX. * m4/mktime.m4 (gl_FUNC_MKTIME_WORKS): Remove irix_6_4_bug test.
Bruno Haible 70a9f559 2025-09-10T23:10:45 malloc-posix: Remove support for IRIX. * m4/malloc.m4 (gl_CHECK_MALLOC_POSIX): Remove code for IRIX.
Bruno Haible 53fc37d1 2025-09-10T23:09:37 ldd: Remove support for IRIX. * m4/ldd.m4 (gl_LDD): Remove code for IRIX.
Bruno Haible 905962da 2025-09-10T23:07:18 fsusage: Remove support for IRIX. * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Update description of STAT_STATFS4.
Bruno Haible 8427e18e 2025-09-10T23:06:33 chmod: Remove support for IRIX. * m4/chmod.m4 (gl_FUNC_CHMOD): Remove cross-compilation guess for IRIX.
Bruno Haible 65196b26 2025-09-10T23:06:21 btowc: Remove support for IRIX. * m4/btowc.m4 (gl_FUNC_BTOWC): Remove test of btowc (EOF).
Bruno Haible 4d4c43c1 2025-09-10T23:05:41 assert-h: Remove support for IRIX. * m4/assert_h.m4 (gl_ASSERT_H): Remove workaround for IRIX.
Bruno Haible 2ad62f3c 2025-09-10T23:04:35 iconv_open: Remove support for IRIX. * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN): Remove code for IRIX. * lib/iconv_open.c (ICONV_FLAVOR_IRIX): Remove macro. * lib/iconv_open-irix.gperf: Remove file. * modules/iconv_open (Files): Remove it. (Makefile.am): Remove rule for $(srcdir)/iconv_open-irix.h. Update BUILT_SOURCES, MOSTLYCLEANFILES, MAINTAINERCLEANFILES, EXTRA_DIST accordingly.
Bruno Haible b84cb94f 2025-09-10T23:04:32 Remove support for IRIX regarding sigaltstack. * m4/sigaltstack.m4 (SV_SIGALTSTACK): Assume that ss_sp is the start address, not the end address, of the alternate stack area. * lib/sigsegv.c: Remove code for IRIX. (stackoverflow_install_handler): Ignore SIGALTSTACK_SS_REVERSED. * lib/sigsegv.in.h: Remove code for IRIX.
Bruno Haible abe5d60f 2025-09-10T23:03:55 Remove support for IRIX and Solaris <= 7 regarding old mmap. * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Don't define HAVE_MAP_ANONYMOUS. * m4/memchr.m4 (gl_FUNC_MEMCHR): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * m4/strncat.m4 (gl_FUNC_STRNCAT): Likewise. * lib/get-rusage-as.c (MAP_FILE): Remove macro. (get_rusage_as_via_setrlimit): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * modules/get-rusage-as (Depends-on): Remove 'open'. * lib/pagealign_alloc.c (MAP_FILE): Remove macro. (pagealign_alloc): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * modules/pagealign_alloc (Depends-on): Remove 'open'. * lib/vma-iter.c: Remove code for IRIX. (vma_iterate): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * lib/vma-iter.h: Remove code for IRIX. * lib/stackvma.c: Remove code for IRIX. (vma_iterate): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * lib/stackvma.h: Remove code for IRIX. * tests/mmap-anon-util.h: (zero_fd, map_flags, MAP_FILE): Remove macros. (mmap_zeromap): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * tests/zerosize-ptr.h (MAP_FILE): Remove macro. (zerosize_ptr): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * tests/jit/test-cache.c (main): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * tests/test-sigsegv-catch-segv1.c (main): Assume that mmap supports MAP_ANONYMOUS or MAP_ANON. * tests/test-sigsegv-catch-segv2.c (main): Likewise. * tests/test-sigsegv-catch-stackoverflow2.c (main): Likewise. * tests/test-vma-prot.c: Test HAVE_MMAP instead of HAVE_MAP_ANONYMOUS.
Bruno Haible 125c6542 2025-09-10T23:02:39 signbit, *-ieee: Remove support for IRIX. * m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): Remove code for IRIX.
Bruno Haible f75e8b57 2025-09-10T23:02:09 remainderf: Remove support for IRIX. * m4/remainderf.m4 (gl_FUNC_REMAINDERF_WORKS): Remove macro. (gl_FUNC_REMAINDERF): Don't invoke it.
Bruno Haible 35dd7643 2025-09-10T23:01:29 logbl: Remove support for IRIX. * m4/logbl.m4 (gl_FUNC_LOGBL_WORKS): Remove IRIX <float.h> workaround.
Bruno Haible 38a6bfb4 2025-09-10T23:01:27 log1pl: Remove support for IRIX. * m4/log1pl.m4 (gl_FUNC_LOG1PL_WORKS): Remove IRIX <float.h> workaround. * lib/log1pl.c (log1pl): Remove code for IRIX.
Bruno Haible 0753fb6a 2025-09-10T23:01:25 log1pf: Remove support for IRIX. * m4/log1pf.m4 (gl_FUNC_LOG1PF_WORKS): Remove macro. (gl_FUNC_LOG1PF): Don't invoke it.
Bruno Haible 3661cbe3 2025-09-10T23:01:20 log10l: Remove support for IRIX. * m4/log10l.m4 (gl_FUNC_LOG10L_WORKS): Remove IRIX <float.h> workaround. * lib/log10l.c (log10l): Remove code for IRIX.
Bruno Haible 4e378557 2025-09-10T23:00:47 logl: Remove support for IRIX. * m4/logl.m4 (gl_FUNC_LOGL_WORKS): Remove IRIX <float.h> workaround.
Bruno Haible db5d0269 2025-09-10T23:00:16 isnan*, isnan*-nolibm: Remove support for IRIX. * m4/isnanf.m4 (gl_ISNANF_WORKS): Remove test for isnanf (NaN ()). * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Simplify test program. * lib/isnanf-nolibm.h (isnanf): Remove code for IRIX. * lib/isnan.c (FUNC): Remove code for IRIX.
Bruno Haible 0a0bc4a1 2025-09-10T22:59:36 isinf: Remove support for IRIX. * m4/isinf.m4 (gl_ISINFL_WORKS): Remove code for IRIX.
Bruno Haible 388af4ea 2025-09-10T22:59:33 isfinite: Remove support for IRIX. * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Remove code for IRIX.
Bruno Haible 4e7ba740 2025-09-10T22:59:31 ilogbl: Remove support for IRIX. * m4/ilogbl.m4 (gl_FUNC_ILOGBL_WORKS): Remove code for IRIX. Remove IRIX <float.h> workaround.
Bruno Haible ae47828d 2025-09-10T22:59:28 ilogbf: Remove support for IRIX. * m4/ilogbf.m4 (gl_FUNC_ILOGBF_WORKS): Remove code for IRIX.
Bruno Haible 1d7b3715 2025-09-10T22:59:25 ilogb: Remove support for IRIX. * m4/ilogb.m4 (gl_FUNC_ILOGB_WORKS): Remove code for IRIX.
Bruno Haible ebcacd40 2025-09-10T22:59:23 frexpl: Remove support for IRIX. * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Remove code for IRIX. Remove IRIX <float.h> workaround.
Bruno Haible 58b1c78c 2025-09-10T22:59:21 frexpf: Remove support for IRIX. * m4/frexpf.m4 (gl_FUNC_FREXPF_WORKS): Remove code for IRIX.
Bruno Haible 1b37573d 2025-09-10T22:59:19 frexp: Remove support for IRIX. * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Remove code for IRIX.
Bruno Haible a1be3c7c 2025-09-10T22:59:16 fmal: Remove support for IRIX. * m4/fmal.m4 (gl_FUNC_FMAL): Don't test whether fmal is declared. (gl_FUNC_FMAL_WORKS): Remove IRIX <float.h> workaround.
Bruno Haible 59dd6255 2025-09-10T22:59:14 fmaf: Remove support for IRIX. * m4/fmaf.m4 (gl_FUNC_FMAF): Don't test whether fmaf is declared.
Bruno Haible 8cec9fea 2025-09-10T22:59:11 fma: Remove support for IRIX. * m4/fma.m4 (gl_FUNC_FMA): Don't test whether fma is declared.
Bruno Haible 74323724 2025-09-10T22:59:06 fabsl: Remove support for IRIX. * m4/fabsl.m4 (gl_FUNC_FABSL_WORKS): Remove macro. (gl_FUNC_FABSL): Don't invoke it.
Bruno Haible 7999610a 2025-09-10T22:59:03 expm1f: Remove support for IRIX. * m4/expm1f.m4 (gl_FUNC_EXPM1F_WORKS): Remove macro. (gl_FUNC_EXPM1F): Don't invoke it.
Bruno Haible 493e5da9 2025-09-10T22:58:31 expl: Remove support for IRIX. * m4/expl.m4 (gl_FUNC_EXPL): Remove IRIX <float.h> workaround.
Bruno Haible c434544e 2025-09-10T22:58:03 ceil, rint, round, trunc, *-ieee: Remove support for IRIX. * m4/minus-zero.m4 (gl_FLOAT_MINUS_ZERO_CODE, gl_DOUBLE_MINUS_ZERO_CODE, gl_LONG_DOUBLE_MINUS_ZERO_CODE): Remove code for IRIX cc. * lib/ceil.c (MINUS_ZERO): Likewise. * lib/rint.c (MINUS_ZERO): Likewise. * lib/round.c (MINUS_ZERO): Likewise. * lib/trunc.c (MINUS_ZERO): Likewise.
Bruno Haible a923e066 2025-09-10T22:55:08 math-h: Remove support for IRIX. * lib/math.in.h (FP_ILOGB0, FP_ILOGBNAN): Remove code for IRIX. (cbrtf): Test HAVE_CBRTF instead of HAVE_DECL_CBRTF. (cbrtl): Test HAVE_CBRTL instead of HAVE_DECL_CBRTL. (copysignf): Test HAVE_COPYSIGNF instead of HAVE_DECL_COPYSIGNF. (exp2f): Test HAVE_EXP2F instead of HAVE_DECL_EXP2F. (exp2): Test HAVE_EXP2 instead of HAVE_DECL_EXP2. (exp2l): Test HAVE_EXP2L instead of HAVE_DECL_EXP2L. (expm1l): Test HAVE_EXPM1L instead of HAVE_DECL_EXPM1L. (log2f): Test HAVE_LOG2F instead of HAVE_DECL_LOG2F. (log2): Test HAVE_LOG2 instead of HAVE_DECL_LOG2. (log2l): Test HAVE_LOG2L instead of HAVE_DECL_LOG2L. (remainder): Don't test HAVE_DECL_REMAINDER. (remainderl): Test HAVE_REMAINDERL instead of HAVE_DECL_REMAINDERL. (rintf): Test HAVE_RINTF instead of HAVE_DECL_RINTF. (roundf): Test HAVE_ROUNDF instead of HAVE_DECL_ROUNDF. (round): Test HAVE_ROUND instead of HAVE_DECL_ROUND. (roundl): Test HAVE_ROUNDL instead of HAVE_DECL_ROUNDL. (isnanf, isnand): Remove code for IRIX. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_COPYSIGNF, HAVE_EXP2, HAVE_EXP2F, HAVE_EXP2L, HAVE_EXPM1L, HAVE_LOG2, HAVE_LOG2F, HAVE_LOG2L, HAVE_REMAINDERL, HAVE_RINTF, HAVE_ROUND, HAVE_ROUNDF, HAVE_ROUNDL. Don't initialize HAVE_DECL_CBRTF, HAVE_DECL_CBRTL, HAVE_DECL_COPYSIGNF, HAVE_DECL_EXP2, HAVE_DECL_EXP2F, HAVE_DECL_EXP2L, HAVE_DECL_EXPM1L, HAVE_DECL_LOG2, HAVE_DECL_LOG2F, HAVE_DECL_LOG2L, HAVE_DECL_REMAINDER, HAVE_DECL_REMAINDERL, HAVE_DECL_RINTF, HAVE_DECL_ROUND, HAVE_DECL_ROUNDF, HAVE_DECL_ROUNDL. * modules/math-h (Makefile.am): Substitute HAVE_COPYSIGNF, HAVE_EXP2, HAVE_EXP2F, HAVE_EXP2L, HAVE_EXPM1L, HAVE_LOG2, HAVE_LOG2F, HAVE_LOG2L, HAVE_REMAINDERL, HAVE_RINTF, HAVE_ROUND, HAVE_ROUNDF, HAVE_ROUNDL. Don't substitute HAVE_DECL_CBRTF, HAVE_DECL_CBRTL, HAVE_DECL_COPYSIGNF, HAVE_DECL_EXP2, HAVE_DECL_EXP2F, HAVE_DECL_EXP2L, HAVE_DECL_EXPM1L, HAVE_DECL_LOG2, HAVE_DECL_LOG2F, HAVE_DECL_LOG2L, HAVE_DECL_REMAINDER, HAVE_DECL_REMAINDERL, HAVE_DECL_RINTF, HAVE_DECL_ROUND, HAVE_DECL_ROUNDF, HAVE_DECL_ROUNDL. * m4/cbrtf.m4 (gl_FUNC_CBRTF_WORKS): Remove macro. (gl_FUNC_CBRTF): Don't invoke it. Don't set HAVE_DECL_CBRTF. * m4/cbrtl.m4 (gl_FUNC_CBRTL): Don't set HAVE_DECL_CBRTL. Remove test regarding cbrtl (-0.0L). * lib/cbrtl.c (cbrtl): Remove code for IRIX. * m4/copysignf.m4 (gl_FUNC_COPYSIGNF): Don't set HAVE_DECL_COPYSIGNF. * m4/exp2f.m4 (gl_FUNC_EXP2F): Don't set HAVE_DECL_EXP2F. * m4/exp2.m4 (gl_FUNC_EXP2): Don't set HAVE_DECL_EXP2. * m4/exp2l.m4 (gl_FUNC_EXP2L): Don't set HAVE_DECL_EXP2L. Remove code for IRIX. Remove test regarding exp2l (-Inf). * m4/expm1l.m4 (gl_FUNC_EXPM1L): Don't set HAVE_DECL_EXPM1L. Remove code for IRIX. * m4/log2f.m4 (gl_FUNC_LOG2F): Don't set HAVE_DECL_LOG2F. * m4/log2.m4 (gl_FUNC_LOG2): Don't set HAVE_DECL_LOG2. * lib/log2.c (log2): Remove code for IRIX. * m4/log2l.m4 (gl_FUNC_LOG2L): Don't set HAVE_DECL_LOG2L. Remove code for IRIX. * lib/log2l.c (log2l): Remove code for IRIX. * m4/remainder.m4 (gl_FUNC_REMAINDER): Don't set HAVE_DECL_REMAINDER. * m4/remainderl.m4 (gl_FUNC_REMAINDERL): Don't set HAVE_DECL_REMAINDERL. Remove code for IRIX. * m4/rintf.m4 (gl_FUNC_RINTF): Don't set HAVE_DECL_RINTF. * m4/roundf.m4 (gl_FUNC_ROUNDF): Don't set HAVE_DECL_ROUNDF. * m4/round.m4 (gl_FUNC_ROUND): Don't set HAVE_DECL_ROUND. * m4/roundl.m4 (gl_FUNC_ROUNDL): Don't set HAVE_DECL_ROUNDL.
Bruno Haible a1e5d993 2025-09-10T22:54:15 float-h: Remove support for IRIX. * m4/float_h.m4 (gl_FLOAT_H): Remove code for IRIX.
Bruno Haible 54ce3820 2025-09-10T22:53:35 langinfo-h: Remove support for IRIX. * lib/langinfo.in.h (T_FMT_AMPM, GNULIB_defined_T_FMT_AMPM, YESEXPR, NOEXPR, GNULIB_defined_YESEXPR): Remove macros. * m4/langinfo_h.m4 (gl_LANGINFO_H): Don't set HAVE_LANGINFO_T_FMT_AMPM, HAVE_LANGINFO_YESEXPR. * modules/langinfo-h (Makefile.am): Don't substitute HAVE_LANGINFO_T_FMT_AMPM, HAVE_LANGINFO_YESEXPR. * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): Don't test against IRIX bug. * lib/nl_langinfo.c (rpl_nl_langinfo): Remove fallback code for T_FMT_AMPM, YESEXPR, NOEXPR. * m4/rpmatch.m4 (gl_PREREQ_RPMATCH): Just test for <langinfo.h>. Don't test for YESEXPR. * lib/rpmatch.c: Test HAVE_LANGINFO_H instead of HAVE_LANGINFO_YESEXPR.
Bruno Haible 552641c5 2025-09-10T22:52:31 acl-permissions, file-has-acl: Remove support for IRIX. * lib/acl-internal.h (MODE_INSIDE_ACL): Remove code for IRIX. * lib/acl-internal.c (acl_access_nontrivial): Likewise. * lib/acl_entries.c (acl_entries): Likewise. * lib/file-has-acl.c: Update comments. * lib/get-permissions.c: Likewise. * lib/set-permissions.c: Likewise. * m4/acl.m4 (gl_FUNC_ACL): Likewise. * doc/acl-resources.txt: Remove info about IRIX.
Bruno Haible df788e5d 2025-09-09T20:59:05 Remove support for OSF/1. * lib/fseeko.c: Update comments. * lib/stdbool.in.h: Likewise. * m4/threadlib.m4: Likewise. * modules/getprogname (Depends-on): Simplify platforms list.
Bruno Haible 19adc7a2 2025-09-09T12:50:18 Remove support for OSF/1. * all-modules: Update comments. * build-aux/install-reloc: Likewise. * gnulib-tool: Likewise. * gnulib-tool.py: Likewise. * gnulib-tool.sh: Likewise. * lib/calloc.c: Likewise. * lib/euidaccess.c: Likewise. * lib/fbufmode.c: Likewise. * lib/fflush.c: Likewise. * lib/fpending.c: Likewise. * lib/fpurge.c: Likewise. * lib/freadable.c: Likewise. * lib/freadahead.c: Likewise. * lib/freading.c: Likewise. * lib/freadptr.c: Likewise. * lib/freadseek.c: Likewise. * lib/fseeko.c: Likewise. * lib/fseterr.c: Likewise. * lib/fwritable.c: Likewise. * lib/fwriting.c: Likewise. * lib/get-permissions.c: Likewise. * lib/get-rusage-as.c: Likewise. * lib/getdomainname.c: Likewise. * lib/getpass.c: Likewise. * lib/glthread/spin.c: Likewise. * lib/idpriv-drop.c: Likewise. * lib/idpriv-droptemp.c: Likewise. * lib/log10l.c: Likewise. * lib/login_tty.c: Likewise. * lib/minmax.h: Likewise. * lib/mountlist.c: Likewise. * lib/netdb.in.h: Likewise. * lib/nproc.c: Likewise. * lib/passfd.c: Likewise. * lib/posix_openpt.c: Likewise. * lib/resource-ext.h: Likewise. * lib/safe-read.h: Likewise. * lib/safe-write.h: Likewise. * lib/stdint.in.h: Likewise. * lib/stdio.in.h: Likewise. * lib/string.in.h: Likewise. * lib/sys-limits.h: Likewise. * lib/termcap.h: Likewise. * lib/terminfo.h: Likewise. * lib/ttyname_r.c: Likewise. * lib/vasnprintf.c: Likewise. * lib/wait-process.c: Likewise. * m4/fmal.m4: Likewise. * m4/getdomainname.m4: Likewise. * m4/getopt.m4: Likewise. * m4/hypot.m4: Likewise. * m4/hypotf.m4: Likewise. * m4/hypotl.m4: Likewise. * m4/iconv.m4: Likewise. * m4/iconv_open-utf.m4: Likewise. * m4/imaxabs.m4: Likewise. * m4/imaxdiv.m4: Likewise. * m4/largefile.m4: Likewise. * m4/link-follow.m4: Likewise. * m4/locale-fr.m4: Likewise. * m4/locale-ja.m4: Likewise. * m4/locale_h.m4: Likewise. * m4/lock.m4: Likewise. * m4/log10l.m4: Likewise. * m4/mkstemp.m4: Likewise. * m4/mmap-anon.m4: Likewise. * m4/modf.m4: Likewise. * m4/modff.m4: Likewise. * m4/modfl.m4: Likewise. * m4/semaphore.m4: Likewise. * m4/socklen.m4: Likewise. * m4/strerror_r.m4: Likewise. * m4/terminfo.m4: Likewise. * m4/wcwidth.m4: Likewise. * posix-modules: Likewise. * tests/havelib/README: Likewise. * tests/init.sh: Likewise. * tests/socket-client.h: Likewise. * tests/socket-server.h: Likewise. * tests/test-echo.sh: Likewise. * tests/test-nonblocking-socket.h: Likewise. * tests/test-strtod.h: Likewise. * tests/test-strtof.h: Likewise.
Bruno Haible a1bd68ea 2025-09-09T12:49:21 wcsrtombs: Remove support for OSF/1. * m4/wcsrtombs.m4 (gl_WCSRTOMBS_TERMINATION): Remove macro. (gl_FUNC_WCSRTOMBS): Don't invoke it. Don't define WCSRTOMBS_TERMINATION_BUG. (gl_WCSRTOMBS_NULL): Remove cross-compilation guess for OSF/1. * lib/wcsrtombs.c: Ignore WCSRTOMBS_TERMINATION_BUG.
Bruno Haible 6d3e683c 2025-09-09T12:49:18 wcrtomb: Remove support for OSF/1. * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Remove cross-compilation guess for OSF/1.
Bruno Haible 018c1703 2025-09-09T12:49:07 ttyname_r: Remove support for OSF/1. * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Remove cross-compilation guess for OSF/1.
Bruno Haible 3a36f67d 2025-09-09T12:49:04 truncl: Remove support for OSF/1. * m4/truncl.m4 (gl_FUNC_TRUNCL): Don't test against OSF/1 bug.
Bruno Haible eeb9a61b 2025-09-09T12:48:47 threadlib: Remove support for OSF/1. * m4/threadlib.m4 (gl_ANYTHREADLIB_EARLY): Don't define -D_REENTRANT on OSF/1. (gl_THREADLIB_EARLY_BODY): Don't disable multithreading by default on OSF/1.
Bruno Haible a2f6856c 2025-09-09T12:48:39 sys_socket-h: Remove support for OSF/1. * m4/sys_socket_h.m4 (gl_SYS_SOCKET_H): Don't define _POSIX_PII_SOCKET.
Bruno Haible 590ace74 2025-09-09T12:47:55 sys_select-h: Remove support for OSF/1. * m4/sys_select_h.m4 (gl_SYS_SELECT_H): Don't test against OSF/1 bug. * lib/sys_select.in.h: Remove code for OSF/1.
Bruno Haible 2f85a793 2025-09-09T12:46:57 unsetenv: Remove support for OSF/1. * m4/setenv.m4 (gl_FUNC_UNSETENV): Remove workaround for OSF/1.
Bruno Haible 99153037 2025-09-09T12:46:11 remainderl-ieee: Remove support for OSF/1. * m4/remainderl.m4 (gl_FUNC_REMAINDERL): Don't test against OSF/1 bug.
Bruno Haible 98d40bc4 2025-09-09T12:46:08 remainderf-ieee: Remove support for OSF/1. * m4/remainderf.m4 (gl_FUNC_REMAINDERF): Don't test against OSF/1 bug.
Bruno Haible 6e462f6c 2025-09-09T12:46:05 remainder-ieee: Remove support for OSF/1. * m4/remainder.m4 (gl_FUNC_REMAINDER): Don't test against OSF/1 bug.
Bruno Haible a95a5a6b 2025-09-09T12:45:45 readutmp: Remove support for OSF/1. * m4/readutmp.m4 (gl_PREREQ_READUTMP_H): Don't test for ut_termination, ut_exit members. * lib/readutmp.c (UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Don't access ut_termination, ut_exit members.
Bruno Haible c69e5e2e 2025-09-09T12:45:16 random_r: Remove support for OSF/1. * lib/stdlib.in.h: Don't include <random.h>. * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Don't initialize HAVE_RANDOM_H. * m4/random_r.m4 (gl_FUNC_RANDOM_R): Don't set HAVE_RANDOM_H. Don't set REPLACE_RANDOM_R on OSF/1. * modules/stdlib-h (Makefile.am): Don't substitute HAVE_RANDOM_H.
Bruno Haible 7e912371 2025-09-09T12:44:42 ptsname_r: Remove support for OSF/1. * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): Remove test for non-standard signature of ptsname_r. * lib/ptsname_r.c: Remove code for OSF/1.
Bruno Haible e376faf5 2025-09-09T12:44:39 *printf-posix: Remove support for OSF/1. * m4/printf.m4 (gl_PRINTF_ENOMEM, gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_DIRECTIVE_N): Remove cross-compilation guesses for OSF/1.
Bruno Haible 1799c4fb 2025-09-09T12:44:02 mountlist: Remove support for OSF/1. * m4/mountlist.m4 (gl_MOUNTLIST): Update description of MOUNTED_GETFSSTAT.
Bruno Haible 374f2f93 2025-09-09T12:43:00 mbrtowc: Remove support for OSF/1. * m4/mbrtowc.m4 (gl_MBRTOWC_NULL_ARG2): Remove macro. (gl_FUNC_MBRTOWC): Don't invoke it. Don't define MBRTOWC_NULL_ARG2_BUG. (gl_MBRTOWC_INCOMPLETE_STATE): Remove cross-compilation guess for OSF/1. * lib/mbrtowc.c (rpl_mbrtowc): Ignore MBRTOWC_NULL_ARG2_BUG.
Bruno Haible f42eaf20 2025-09-09T12:42:56 mbrlen: Remove support for OSF/1. * m4/mbrlen.m4 (gl_MBRLEN_INCOMPLETE_STATE): Remove cross-compilation guess for OSF/1.
Bruno Haible 3280e056 2025-09-09T12:42:53 log2l: Remove support for OSF/1. * m4/log2l.m4 (gl_FUNC_LOG2L_WORKS): Remove test regarding log2l (-0.0L).