Log

Author Commit Date CI Message
Paul Eggert 26fd3545 2025-09-16T23:08:01 stringeq: prefer streq to strcmp in other modules * lib/acl-internal.c, lib/argmatch.c, lib/argp-help.c: * lib/argp-parse.c, lib/bcp47.c, lib/c32_get_mapping.c: * lib/c32_get_type_test.c, lib/concat-filename.c: * lib/cpu-supports.h, lib/dfa.c, lib/duplocale.c, lib/exclude.c: * lib/findprog-in.c, lib/findprog.c, lib/fopen.c, lib/freopen.c: * lib/fts.c, lib/gen-uni-tables.c, lib/getfilecon.c: * lib/getlogin.c, lib/getugroups.c, lib/hard-locale.c: * lib/hashcode-named-file.c, lib/hashkey-string.c: * lib/iconv_open.c, lib/idcache.c, lib/lc-charset-unicode.c: * lib/localcharset.c, lib/localename-environ.c: * lib/localename-unsafe.c, lib/mbs_endswith.c, lib/mountlist.c: * lib/newlocale.c, lib/nl_langinfo.c, lib/nproc.c, lib/open.c: * lib/os2-spawn.c, lib/parse-datetime.y, lib/popen.c: * lib/progreloc.c, lib/propername.c, lib/pt_chown.c, lib/putenv.c: * lib/qcopy-acl.c, lib/readutmp.c, lib/rpmatch.c: * lib/setlocale-fixes.c, lib/setlocale.c, lib/sig2str.c: * lib/spawni.c, lib/stat.c, lib/str_endswith.c, lib/streq.h: * lib/striconveha.c, lib/struniq.h, lib/supersede.c: * lib/time_rz.c, lib/unicodeio.c, lib/vasnprintf.c: * lib/vc-mtime.c, lib/wctrans-impl.h, lib/wctype-impl.h: Prefer streq to strcmp when either will do. Do not make this change to files shared with glibc. Do not make the change to test files, at least not for now. * lib/gen-uni-tables.c (streq): New static function, in same style. * modules/acl-permissions, modules/argp, modules/c32_get_mapping: * modules/c32_get_type_test, modules/concat-filename: * modules/cpu-supports, modules/dfa, modules/duplocale: * modules/exclude, modules/findprog, modules/findprog-in: * modules/fopen, modules/fopen-gnu, modules/freopen, modules/fts: * modules/getlocalename_l-simple, modules/getlocalename_l-unsafe: * modules/getlogin, modules/getugroups, modules/hard-locale: * modules/hashcode-named-file, modules/hashkey-string: * modules/iconv_open, modules/idcache, modules/localcharset: * modules/localename, modules/localename-unsafe: * modules/mbs_endswith, modules/mountlist, modules/newlocale: * modules/nl_langinfo, modules/nproc, modules/open: * modules/parse-datetime, modules/popen: * modules/posix_spawn-internal, modules/propername: * modules/pt_chown, modules/putenv-gnu, modules/qcopy-acl: * modules/rpmatch, modules/selinux-h, modules/setenv: * modules/setlocale, modules/setlocale-fixes, modules/sig2str: * modules/spawn-pipe, modules/stat, modules/str_endswith: * modules/streq, modules/striconveha, modules/supersede: * modules/time_rz, modules/uchar-h, modules/unicodeio: * modules/uniconv/base, modules/wctrans, modules/wctype: (Depends-on): Add stringeq.
Paul Eggert 6ca831b0 2025-09-16T18:57:41 stringeq: prefer memeq to memcmp in other modules * lib/argmatch.c, lib/argmatch.h, lib/backupfile.c, lib/bcp47.c: * lib/boot-time.c, lib/csharpcomp.c, lib/csharpexec.c: * lib/file-has-acl.c, lib/gen-uni-tables.c, lib/get_ppid_of.c: * lib/get_progname_of.c, lib/getlogin_r.c, lib/getprogname.c: * lib/getumask.c, lib/isnan.c, lib/mbchar.h, lib/mem-hash-map.c: * lib/memcoll.c, lib/progname.c, lib/progreloc.c: * lib/pthread_sigmask.c, lib/quotearg.c, lib/readutmp.c: * lib/same.c, lib/signbitd.c, lib/signbitf.c, lib/signbitl.c: * lib/string-desc.c, lib/string.c, lib/string.in.h: * lib/unictype/3level.h, lib/unictype/3levelbit.h: * lib/uniname/uniname.c, lib/vc-mtime.c: Prefer memeq to memcmp when either will do. Do not make this change to files shared with glibc. Do not make the change to test files, at least not for now. * lib/gen-uni-tables.c (memeq): New static function, in same style. * modules/argmatch, modules/backupfile, modules/bcp47: * modules/boot-time, modules/csharpcomp, modules/csharpexec: * modules/file-has-acl: * modules/get_ppid_of, modules/get_progname_of: * modules/getlogin_r, modules/getprogname, modules/getumask: * modules/isnan, modules/mbchar, modules/mem-hash-map: * modules/memcoll, modules/progname, modules/pthread_sigmask: * modules/quotearg, modules/readutmp, modules/relocatable-prog: * modules/relocatable-prog-wrapper, modules/same, modules/signbit: * modules/string-desc, modules/stringeq, modules/uniname/uniname: * modules/vc-mtime: (Depends-on): Add stringeq.
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.
Pádraig Brady 093de609 2025-09-17T15:56:07 doc: MODULES.html.sh: add missing cpu-supports entry * MODULES.html.sh: Add "cpu-supports" to Misc section.
Bruno Haible 84d76cdd 2025-09-17T09:31:31 stdio-h: Work around [v][f]printf bugs in mingw with msvcrt. Reported by 松延 英樹 <maznobu@gmail.com> in <https://github.com/mlocati/gettext-iconv-windows/issues/52>. * lib/stdio.in.h (gl_consolesafe_fprintf, gl_consolesafe_printf, gl_consolesafe_vfprintf, gl_consolesafe_vprintf): New declarations. (fprintf): When msvcrt is in use, use gl_consolesafe_fprintf. (printf): When msvcrt is in use, use gl_consolesafe_printf. (vfprintf): When msvcrt is in use, use gl_consolesafe_vfprintf. (vprintf): When msvcrt is in use, use gl_consolesafe_vprintf. * lib/stdio-consolesafe.c: Include fseterr.h. (gl_consolesafe_fprintf, gl_consolesafe_printf, gl_consolesafe_vfprintf, gl_consolesafe_vprintf): New functions. * lib/stdio-write.c (vfprintf): When msvcrt is in use, use gl_consolesafe_vfprintf. * modules/stdio-h (Depends-on): Add fseterr. * doc/posix-functions/fprintf.texi: Document the mingw bug. * doc/posix-functions/printf.texi: Likewise. * doc/posix-functions/vfprintf.texi: Likewise. * doc/posix-functions/vprintf.texi: Likewise.
Bruno Haible dc8590b1 2025-09-17T08:38:14 stdio-h: Work around fwrite bug in msvcrt. Reported by 松延 英樹 <maznobu@gmail.com> in <https://github.com/mlocati/gettext-iconv-windows/issues/52>. * lib/stdio.in.h (gl_consolesafe_fwrite): New declaration. (fwrite): When msvcrt is in use, use gl_consolesafe_fwrite. * lib/stdio-consolesafe.c: New file. * lib/stdio-write.c (fwrite): When msvcrt is in use, use gl_consolesafe_fwrite. * modules/stdio.h (Files): Add lib/stdio-consolesafe.c. (Depends-on): Add stdckdint-h. (configure.ac): Define condition GL_COND_OBJ_STDIO_CONSOLESAFE. (Makefile.am): Arrange to compile stdio-consolesafe.c. * doc/posix-functions/fwrite.texi: Document the workaround.
Bruno Haible c172e838 2025-09-16T22:04:46 strerror_r-posix: Fix truncation code (regression today). * lib/strerror_r.c (strerror_r): Fix use of snprintf again.
Bruno Haible a9a1a8cd 2025-09-16T21:35:12 inttypes-h tests: Avoid compilation error on mingw. Reported by Michele Locati in <https://lists.gnu.org/archive/html/bug-gettext/2024-09/msg00015.html>. * tests/test-inttypes-h.c (l): On mingw without __USE_MINGW_ANSI_STDIO, don't test for the presence of SCN*8, SCN*LEAST8, SCN*FAST8}. * doc/posix-headers/inttypes.texi: Mention the mingw bug.
Pádraig Brady c0184d73 2025-09-16T17:38:57 cpu-supports: remove assert dependency Avoid LGPL incompatibility issues by removing assert. * lib/cpu-supports.c (hwcaps_allowed): Replace assert()s with defensive returns allowing the passed hwcap. * modules/cpu-supports: Remove the dependency.
Paul Eggert 9b534211 2025-09-16T09:14:38 mcel: document that errno is unspecified
Bruno Haible 901563ae 2025-09-16T17:08:44 Document msvcrt (native Windows) bugs regarding console output. * doc/posix-functions/fputc.texi: Document a bug found in msvcrt. * doc/posix-functions/putc.texi: Likewise. * doc/posix-functions/fwrite.texi: Document another bug found in msvcrt.
Bruno Haible bbd69592 2025-09-16T16:51:55 strerror_r: Ensure a trailing NUL when truncating. * lib/strerror_r.c (strerror_r): Fix use of snprintf.
Bruno Haible 51aa7ef1 2025-09-16T16:30:38 strtof: Work around mingw bug with overflow. * lib/strtod.c (STRTOD): Recognize overflow. * modules/strtof (Depends-on): Add isinf. * modules/strtod (Depends-on): Likewise. * modules/strtold (Depends-on): Likewise. * doc/posix-functions/strtof.texi: Update mingw version.
Bruno Haible c663bd17 2025-09-16T15:07:55 pagealign_alloc tests: Fix link error. * modules/pagealign_alloc-tests (Makefile.am): Link bench-pagealign_alloc with $(LIBINTL).
Pádraig Brady 2bad49a5 2025-09-15T12:44:49 cpu-supports: relicense under LGPL * modules/cpu-supports: Relicense under LGPL to match the crc-x86_64 module.
Pádraig Brady b26ea307 2025-09-15T14:43:16 tests: avoid infinite loop in init.sh This was noticed when building expr in coreutils with -fsanitize=memory, which induced false failures resulting in an infinite loop. * tests/init.sh: Break from the loop if there's an issue with expr(1).
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.
Karl Berry e3777b8b 2025-09-15T08:34:43 autoupdate
Bruno Haible 06f481da 2025-09-15T08:32:29 pagealign_alloc tests: Fix link error. * modules/pagealign_alloc-tests (Makefile.am): Link test-pagealign_alloc with $(LIBINTL).
Bruno Haible d3bcecb9 2025-09-14T18:29:29 gettext-h: Avoid warning with gcc < 4.2. Reported by Orgad Shaneh <orgads@gmail.com> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-09/msg00183.html>. * lib/gettext.h (gettext, dgettext, dcgettext): Don't use attribute __gnu_inline__ with gcc < 4.2.
Karl Berry cfd950f4 2025-09-14T08:06:52 autoupdate
Pádraig Brady 4aa11814 2025-09-12T18:01:08 crc-x86_64: honor GLIBC_TUNABLES to disable acceleration * modules/crc-x86_64: Depend on cpu-supports. * lib/crc.c: Call the cpu_supports() wrapper that honors glibc hwcaps.
Pádraig Brady 16deb62f 2025-09-12T16:55:45 cpu-supports: a module to honor GLIBC_TUNABLES=glibc.cpu.hwcaps This functionality is useful to allow better test coverage at least, and may be useful for users to tune their environment, avoiding CPU throttling for example. * lib/cpu-supports.h (cpu_supports): A new wrapper that checks that the GLIBC_TUNABLES environment variable allows the hardware feature, before checking with __builtin_cpu_supports(). (cpu_may_support): Only perform the GLIBC_TUNABLES check, which is useful if using other interfaces like getauxval(). (gcc_feature_to_glibc_hwcap): An internal helper that will resolve at compile time with standard optimizations enabled. * lib/cpu-supports.c (hwcap_allowed): Query the GLIBC_TUNABLES environment variable (read once per process), to see if the passed GLIBC_HWCAP is allowed. * modules/cpu-supports: New module definition. * modules/cpu-supports-tests: New test module definition. * tests/test-cpu-supports.c: New tests.
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.
Collin Funk f9e44d5d 2025-09-13T17:34:21 gettext-h: Avoid -Wtrailing-whitespace in config.h. * modules/gettext-h (configure.ac): Move the closing bracket and parentheses of AH_BOTTOM to the preceding line.
Bruno Haible 93a0da5d 2025-09-14T01:17:38 pagealign_alloc: Don't waste large amounts of memory (regr. 2025-09-10). * tests/bench-pagealign_alloc.c: Update results.
Bruno Haible bcc735c1 2025-09-14T00:25:21 pagealign_alloc: Don't waste large amounts of memory (regr. 2025-09-10). * lib/pagealign_alloc.c (get_default_impl): Choose a default that does not waste large amounts of memory.
Bruno Haible 7f4d4edc 2025-09-14T00:25:12 pagealign_alloc: Add unit test for scalability. * tests/test-pagealign_alloc.c: New file. * modules/pagealign_alloc-tests (Files): Add it. (Depends-on): Add xalloc. (configure.ac): Check for alarm(). (Makefile.am): Arrange to compile and run test-pagealign_alloc.
Bruno Haible 94371026 2025-09-14T00:24:21 pagealign_alloc: Fix scalability problem. Reported by Harry Sintonen <sintonen@iki.fi> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-09/msg00108.html>. * lib/pagealign_alloc.c: Include gl_xmap.h, gl_hash_map.h. Don't include xalloc.h. (info_t, memnode_t, struct memnode_s): Remove types. (memnode_table): Remove variable. (new_memnode, get_memnode): Remove functions. (page_info_map): New variable. (pagealign_alloc): Use gl_map_put instead of new_memnode. (pagealign_free): Use gl_map_getremove instead of get_memnode. * modules/pagealign_alloc (Depends-on): Add xmap, hash-map. Remove xalloc.
Bruno Haible 8bca9f3c 2025-09-13T22:36:06 pagealign_alloc: Fix crashes (regression 2025-09-11). * lib/pagealign_alloc.c (pagealign_alloc, pagealign_free): Add missing 'break' statements. For PA_IMPL_VIRTUAL_ALLOC, don't use new_memnode and get_memnode.
Paul Eggert 226b0092 2025-09-13T13:01:00 endian: port to Solaris 11.4 and macOS 15 Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2025-09/msg00174.html * lib/byteswap.in.h (_GL_BYTESWAP_INLINE): Define before including stdint.h. * lib/endian.in.h (bswap_16, bswap_32, bswap_64): Declare as _GL_BYTESWAP_INLINE rather than as extern. Conditionalize these decls with _GL_BYTESWAP_INLINE rather than with _GL_BYTESWAP_H.
Karl Berry b4855f4a 2025-09-13T09:02:51 autoupdate
Bruno Haible cea7fc1b 2025-09-13T17:34:13 gettext-h: Move fallback definition of GNULIB_TEXT_DOMAIN. * lib/gettext.h (GNULIB_TEXT_DOMAIN): Remove macro. * modules/gettext-h (configure.ac): Define it here instead.
Bruno Haible 978871e5 2025-09-13T01:44:53 pagealign_alloc: Improve documentation. Suggested by Paul Eggert. * lib/pagealign_alloc.h: Document that this module is not multithread- safe.
Bruno Haible 96a905cd 2025-09-13T01:46:42 pagealign_alloc: Tweak the benchmark. * tests/bench-pagealign_alloc.c (show_stats): Reformat. (main): Fix usage message.
Bruno Haible d5d4cd09 2025-09-13T01:31:23 vma-iter: Improve on OpenBSD. * lib/vma-iter.c (vma_iterate_bsd): Call sysctl() in a loop, not just once. (vma_iterate) [__OpenBSD__]: Don't return the interval that ends at 0.
Bruno Haible 915d8d2e 2025-09-13T00:48:22 gitsub.sh: Revert last change. * top/gitsub.sh: Revert 2025-09-06 change.
Paul Eggert 875d0f9b 2025-09-11T12:49:07 endian: port to gcc 4.1 + glibc 2.4 Problem reported by Orgad Shaneh in: https://lists.gnu.org/r/bug-gnulib/2025-09/msg00128.html * lib/endian.in.h (bswap_16, bswap_32, bswap_64) [_GL_BYTESWAP_H]: Declare before using.
Bruno Haible b4866d29 2025-09-11T16:59:54 pagealign_alloc: Add benchmark for comparing different implementations. * lib/pagealign_alloc.h (pagealign_impl_t): New type. (pagealign_impl): New declaration. * lib/pagealign_alloc.c: On native Windows, include <malloc.h> and <windows.h>. (pagealign_impl): New variable. (info_t): Change to a union type. (get_default_impl): New function. (pagealign_alloc, pagealign_free): Dispatch according to pagealign_impl. * tests/bench-pagealign_alloc.c: New file. * modules/pagealign_alloc-tests: New file.
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.
Paul Eggert 7c96b402 2025-09-10T18:23:58 pagealign_alloc: prefer posix_memalign Problem reported by Harry Sintonen in: https://lists.gnu.org/r/bug-gnulib/2025-09/msg00108.html * lib/pagealign_alloc.c (info_t, memnode_t, struct memnode_s) (memnode_table, new_memnode, get_memnode): Omit if HAVE_POSIX_MEMALIGN, even if HAVE_MMAP. (pagealign_alloc, pagealign_free): Prefer posix_memalign to mmap.
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 06b4b215 2025-09-10T23:22:50 doc: Remove support for IRIX. * doc/gnulib.texi (Header files): Update. * doc/posix-functions/sig2str.texi: Don't mention IRIX problem. * doc/posix-functions/str2sig.texi: Likewise. * doc/posix-functions/strerror.texi: Likewise. * doc/posix-headers/sys_stat.texi: Don't mention IRIX. * doc/posix-headers/sys_types.texi: Likewise.
Bruno Haible 4ecbad17 2025-09-10T23:19:32 tests: Remove support for IRIX. * tests/minus-zero.h (compute_minus_zerof, compute_minus_zerod, compute_minus_zerol): Remove code for IRIX. * tests/test-c32isgraph.c (main): Likewise. * tests/test-c32isprint.c (main): Likewise. * tests/test-getaddrinfo.c (simple): Likewise. * tests/test-isgraph_l.c (main): Likewise. * tests/test-isprint_l.c (main): Likewise. * tests/test-localeconv-mt.c (ENCODING): Likewise. * tests/test-nl_langinfo-mt.c (ENCODING): Likewise. * tests/test-setlocale_null-mt-all.c (ENCODING): Likewise. * tests/test-setlocale_null-mt-one.c (ENCODING): Likewise. * tests/test-sethostname1.c: Likewise. * tests/test-striconveha.c (main): Likewise. * tests/uniconv/test-u8-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u8-strconv-from-enc.c (main): Likewise. * tests/uniconv/test-u16-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u16-strconv-from-enc.c (main): Likewise. * tests/uniconv/test-u32-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u32-strconv-from-enc.c (main): Likewise. * tests/test-frexpl.c (MIN_NORMAL_EXP): Likewise. * tests/test-ilogbl.c (MIN_NORMAL_EXP): Likewise. * tests/test-logbl.c (MIN_NORMAL_EXP): Likewise. * tests/test-printf-frexpl.c (MIN_NORMAL_EXP, MIN_SUBNORMAL_EXP): Likewise. * tests/test-fma2.h (MIN_SUBNORMAL_EXP): Remove macro. (test_function): Inline its value. * tests/test-lseek.c (main): Update comments. * tests/test-sigabbrev_np.c (main): Remove cases for SIGCKPT, SIGPTINTR, SIGPTRESCHED, SIGRESTART, SIGUME. * tests/test-sigdescr_np.c (main): Likewise. * modules/math-h-c++-tests (Makefile.am): Don't link test-math-h-c++ with extra libraries.
Bruno Haible 68deb4b9 2025-09-10T23:19:26 relocatable-prog: Remove support for IRIX. * build-aux/config.libpath: Remove code for IRIX.
Bruno Haible ff2b57b2 2025-09-10T23:18:57 havelib: Remove support for IRIX. * build-aux/config.rpath: Remove code for IRIX.
Bruno Haible 4a717d60 2025-09-10T23:18:43 wctype-h: Remove support for IRIX. * lib/wctype.in.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit, towlower, towupper): Remove workaround for IRIX.
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 cef2f733 2025-09-10T23:18:37 unicodeio: Remove support for IRIX. * lib/unicodeio.c (unicode_to_mb): Remove code for IRIX.
Bruno Haible 8af4228d 2025-09-10T23:18:34 threads-h: Remove support for IRIX. * lib/threads.in.h (TSS_DTOR_ITERATIONS): Assume that PTHREAD_DESTRUCTOR_ITERATIONS is defined.
Bruno Haible cef883c1 2025-09-10T23:18:29 thread: Remove support for IRIX. * lib/glthread/thread.h: Remove code for IRIX.
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 010ee7ea 2025-09-10T23:17:33 sys_select-h: Remove support for IRIX. * lib/sys_select.in.h: Remove code for IRIX.
Bruno Haible 54e5964d 2025-09-10T23:17:04 sysexits-h: Remove support for IRIX. * lib/sysexits.in.h: Remove code for IRIX.
Bruno Haible 9b957bac 2025-09-10T23:16:48 strtof, strtod, strtold: Remove support for IRIX. * lib/strtod.c (minus_zero): Remove code for IRIX.
Bruno Haible 2963ad92 2025-09-10T23:16:45 strerror_r: Remove support for IRIX. * lib/strerror_r.c: Remove code for IRIX. (strerror_r): Assume that strerror() returns non-NULL.
Bruno Haible 9a8406fa 2025-09-10T23:16:34 stdio-h: Remove support for IRIX. * lib/stdio.in.h (_PRINTF_NAN_LEN_MAX): Remove code for IRIX.
Bruno Haible ce194445 2025-09-10T23:16:28 stdint-h: Remove support for IRIX. * lib/stdint.in.h: Don't define __STDINT_H__.
Bruno Haible 4140da0c 2025-09-10T23:15:59 sigabbrev_np, sigdescr_np: Remove support for IRIX. * lib/sigabbrev_np.c (sigabbrev_np): Remove cases for SIGCKPT, SIGPTINTR, SIGPTRESCHED, SIGRESTART, SIGUME. * lib/sigdescr_np.c (sigdescr_np): Likewise.
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 6a577981 2025-09-10T23:13:17 passfd: Remove support for IRIX. * lib/passfd.c (sendfd, recvfd): Remove code for IRIX.
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 14b639ff 2025-09-10T23:10:08 localcharset: Remove support for IRIX. * lib/localcharset.h: Update comments. * lib/localcharset.c (alias_table): Remove entries 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 46a67c2d 2025-09-10T23:09:05 jit/cache: Remove support for IRIX. * lib/jit/cache.h: Remove code for IRIX.
Bruno Haible 1790ef25 2025-09-10T23:08:42 intprops, stdckdint-h: Remove support for IRIX. * lib/intprops-internal.h (_GL_INT_NEGATE_CONVERT): Remove macro. (_GL_EXPR_SIGNED, _GL_INT_MAXIMUM): Use _GL_INT_CONVERT instead. * lib/intprops.h (_GL_DIVIDE_OVERFLOW, _GL_REMAINDER_OVERFLOW): Likewise.
Bruno Haible 7f1f5680 2025-09-10T23:08:38 getprogname: Remove support for IRIX. * lib/getprogname.c: Remove code for IRIX. * modules/getprogname (Depends-on): Likewise.
Bruno Haible 01858c91 2025-09-10T23:08:36 getloadavg: Remove support for IRIX. * lib/getloadavg.c: Remove code for IRIX.
Bruno Haible e299bbfe 2025-09-10T23:08:30 get_ppid_of, get_progname_of: Remove support for IRIX. * lib/get_ppid_of.c: Remove code for IRIX. * lib/get_progname_of.c: Likewise.
Bruno Haible 2e379ef2 2025-09-10T23:08:03 get-rusage-data: Remove support for IRIX. * lib/get-rusage-data.c (get_rusage_data): 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 4bac092b 2025-09-10T23:06:48 fcntl: Remove support for IRIX. * lib/fcntl.c (fcntl): Remove F_OPLKACK, F_OPLKREG cases.
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 c09cd4c9 2025-09-10T23:01:42 nan: Remove support for IRIX. * lib/nan.h (NaNl): Remove code for IRIX.
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 539e56c3 2025-09-10T23:01:23 log1p: Remove support for IRIX. * lib/log1p.c (log1p): Remove code for IRIX.
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.