]> git.ipfire.org Git - thirdparty/gnulib.git/log
thirdparty/gnulib.git
8 months agogettext-h: Move fallback definition of GNULIB_TEXT_DOMAIN.
Bruno Haible [Sat, 13 Sep 2025 15:34:13 +0000 (17:34 +0200)] 
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.

8 months agopagealign_alloc: Improve documentation.
Bruno Haible [Fri, 12 Sep 2025 23:44:53 +0000 (01:44 +0200)] 
pagealign_alloc: Improve documentation.

Suggested by Paul Eggert.

* lib/pagealign_alloc.h: Document that this module is not multithread-
safe.

8 months agopagealign_alloc: Tweak the benchmark.
Bruno Haible [Fri, 12 Sep 2025 23:46:42 +0000 (01:46 +0200)] 
pagealign_alloc: Tweak the benchmark.

* tests/bench-pagealign_alloc.c (show_stats): Reformat.
(main): Fix usage message.

8 months agovma-iter: Improve on OpenBSD.
Bruno Haible [Fri, 12 Sep 2025 23:31:23 +0000 (01:31 +0200)] 
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.

8 months agogitsub.sh: Revert last change.
Bruno Haible [Fri, 12 Sep 2025 22:48:22 +0000 (00:48 +0200)] 
gitsub.sh: Revert last change.

* top/gitsub.sh: Revert 2025-09-06 change.

8 months agoendian: port to gcc 4.1 + glibc 2.4
Paul Eggert [Thu, 11 Sep 2025 19:49:07 +0000 (12:49 -0700)] 
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.

8 months agopagealign_alloc: Add benchmark for comparing different implementations.
Bruno Haible [Thu, 11 Sep 2025 14:59:54 +0000 (16:59 +0200)] 
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.

8 months agopagealign_alloc, vma-prot tests: Fix use of HAVE_MMAP (regr. yesterday).
Bruno Haible [Thu, 11 Sep 2025 12:38:39 +0000 (14:38 +0200)] 
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.

8 months agopagealign_alloc: prefer posix_memalign
Paul Eggert [Thu, 11 Sep 2025 01:23:58 +0000 (18:23 -0700)] 
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.

8 months agoRemove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:22:53 +0000 (23:22 +0200)] 
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.

8 months agodoc: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:22:50 +0000 (23:22 +0200)] 
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.

8 months agotests: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:19:32 +0000 (23:19 +0200)] 
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.

8 months agorelocatable-prog: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:19:26 +0000 (23:19 +0200)] 
relocatable-prog: Remove support for IRIX.

* build-aux/config.libpath: Remove code for IRIX.

8 months agohavelib: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:18:57 +0000 (23:18 +0200)] 
havelib: Remove support for IRIX.

* build-aux/config.rpath: Remove code for IRIX.

8 months agowctype-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:18:43 +0000 (23:18 +0200)] 
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.

8 months agowchar-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:18:40 +0000 (23:18 +0200)] 
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.

8 months agounicodeio: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:18:37 +0000 (23:18 +0200)] 
unicodeio: Remove support for IRIX.

* lib/unicodeio.c (unicode_to_mb): Remove code for IRIX.

8 months agothreads-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:18:34 +0000 (23:18 +0200)] 
threads-h: Remove support for IRIX.

* lib/threads.in.h (TSS_DTOR_ITERATIONS): Assume that
PTHREAD_DESTRUCTOR_ITERATIONS is defined.

8 months agothread: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:18:29 +0000 (23:18 +0200)] 
thread: Remove support for IRIX.

* lib/glthread/thread.h: Remove code for IRIX.

8 months agothreadlib: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:18:04 +0000 (23:18 +0200)] 
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.

8 months agosys_select-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:17:33 +0000 (23:17 +0200)] 
sys_select-h: Remove support for IRIX.

* lib/sys_select.in.h: Remove code for IRIX.

8 months agosysexits-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:17:04 +0000 (23:17 +0200)] 
sysexits-h: Remove support for IRIX.

* lib/sysexits.in.h: Remove code for IRIX.

8 months agostrtof, strtod, strtold: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:16:48 +0000 (23:16 +0200)] 
strtof, strtod, strtold: Remove support for IRIX.

* lib/strtod.c (minus_zero): Remove code for IRIX.

8 months agostrerror_r: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:16:45 +0000 (23:16 +0200)] 
strerror_r: Remove support for IRIX.

* lib/strerror_r.c: Remove code for IRIX.
(strerror_r): Assume that strerror() returns non-NULL.

8 months agostdio-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:16:34 +0000 (23:16 +0200)] 
stdio-h: Remove support for IRIX.

* lib/stdio.in.h (_PRINTF_NAN_LEN_MAX): Remove code for IRIX.

8 months agostdint-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:16:28 +0000 (23:16 +0200)] 
stdint-h: Remove support for IRIX.

* lib/stdint.in.h: Don't define __STDINT_H__.

8 months agosigabbrev_np, sigdescr_np: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:15:59 +0000 (23:15 +0200)] 
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.

8 months agosetlocale-null: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:15:28 +0000 (23:15 +0200)] 
setlocale-null: Remove support for IRIX.

* m4/setlocale_null.m4 (gl_FUNC_SETLOCALE_NULL): Remove code for IRIX.

8 months agoptsname_r: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:14:54 +0000 (23:14 +0200)] 
ptsname_r: Remove support for IRIX.

* m4/ptsname_r.m4 (gl_PREREQ_PTSNAME_R): Remove cross-compilation guess
for IRIX.

8 months agopthread_sigmask: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:14:22 +0000 (23:14 +0200)] 
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.

8 months ago*printf-posix: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:13:46 +0000 (23:13 +0200)] 
*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.

8 months agophysmem: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:13:29 +0000 (23:13 +0200)] 
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.

8 months agopassfd: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:13:17 +0000 (23:13 +0200)] 
passfd: Remove support for IRIX.

* lib/passfd.c (sendfd, recvfd): Remove code for IRIX.

8 months agoopenpty: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:13:08 +0000 (23:13 +0200)] 
openpty: Remove support for IRIX.

* lib/openpty.c (openpty): Remove code for IRIX.
* m4/pty.m4 (gl_FUNC_OPENPTY): Don't test for _getpty.

8 months agonproc: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:12:33 +0000 (23:12 +0200)] 
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.

8 months agomprotect: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:11:56 +0000 (23:11 +0200)] 
mprotect: Remove support for IRIX.

* m4/mprotect.m4 (gl_FUNC_MPROTECT_WORKS): Remove cross-compilation
guess for IRIX.

8 months agomountlist: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:11:28 +0000 (23:11 +0200)] 
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".

8 months agomktime: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:11:16 +0000 (23:11 +0200)] 
mktime: Remove support for IRIX.

* m4/mktime.m4 (gl_FUNC_MKTIME_WORKS): Remove irix_6_4_bug test.

8 months agomalloc-posix: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:10:45 +0000 (23:10 +0200)] 
malloc-posix: Remove support for IRIX.

* m4/malloc.m4 (gl_CHECK_MALLOC_POSIX): Remove code for IRIX.

8 months agolocalcharset: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:10:08 +0000 (23:10 +0200)] 
localcharset: Remove support for IRIX.

* lib/localcharset.h: Update comments.
* lib/localcharset.c (alias_table): Remove entries for IRIX.

8 months agoldd: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:09:37 +0000 (23:09 +0200)] 
ldd: Remove support for IRIX.

* m4/ldd.m4 (gl_LDD): Remove code for IRIX.

8 months agojit/cache: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:09:05 +0000 (23:09 +0200)] 
jit/cache: Remove support for IRIX.

* lib/jit/cache.h: Remove code for IRIX.

8 months agointprops, stdckdint-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:08:42 +0000 (23:08 +0200)] 
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.

8 months agogetprogname: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:08:38 +0000 (23:08 +0200)] 
getprogname: Remove support for IRIX.

* lib/getprogname.c: Remove code for IRIX.
* modules/getprogname (Depends-on): Likewise.

8 months agogetloadavg: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:08:36 +0000 (23:08 +0200)] 
getloadavg: Remove support for IRIX.

* lib/getloadavg.c: Remove code for IRIX.

8 months agoget_ppid_of, get_progname_of: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:08:30 +0000 (23:08 +0200)] 
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.

8 months agoget-rusage-data: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:08:03 +0000 (23:08 +0200)] 
get-rusage-data: Remove support for IRIX.

* lib/get-rusage-data.c (get_rusage_data): Remove code for IRIX.

8 months agofsusage: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:07:18 +0000 (23:07 +0200)] 
fsusage: Remove support for IRIX.

* m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Update description of
STAT_STATFS4.

8 months agofcntl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:06:48 +0000 (23:06 +0200)] 
fcntl: Remove support for IRIX.

* lib/fcntl.c (fcntl): Remove F_OPLKACK, F_OPLKREG cases.

8 months agochmod: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:06:33 +0000 (23:06 +0200)] 
chmod: Remove support for IRIX.

* m4/chmod.m4 (gl_FUNC_CHMOD): Remove cross-compilation guess for IRIX.

8 months agobtowc: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:06:21 +0000 (23:06 +0200)] 
btowc: Remove support for IRIX.

* m4/btowc.m4 (gl_FUNC_BTOWC): Remove test of btowc (EOF).

8 months agoassert-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:05:41 +0000 (23:05 +0200)] 
assert-h: Remove support for IRIX.

* m4/assert_h.m4 (gl_ASSERT_H): Remove workaround for IRIX.

8 months agoiconv_open: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:04:35 +0000 (23:04 +0200)] 
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.

8 months agoRemove support for IRIX regarding sigaltstack.
Bruno Haible [Wed, 10 Sep 2025 21:04:32 +0000 (23:04 +0200)] 
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.

8 months agoRemove support for IRIX and Solaris <= 7 regarding old mmap.
Bruno Haible [Wed, 10 Sep 2025 21:03:55 +0000 (23:03 +0200)] 
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.

8 months agosignbit, *-ieee: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:02:39 +0000 (23:02 +0200)] 
signbit, *-ieee: Remove support for IRIX.

* m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): Remove code for IRIX.

8 months agoremainderf: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:02:09 +0000 (23:02 +0200)] 
remainderf: Remove support for IRIX.

* m4/remainderf.m4 (gl_FUNC_REMAINDERF_WORKS): Remove macro.
(gl_FUNC_REMAINDERF): Don't invoke it.

8 months agonan: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:01:42 +0000 (23:01 +0200)] 
nan: Remove support for IRIX.

* lib/nan.h (NaNl): Remove code for IRIX.

8 months agologbl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:01:29 +0000 (23:01 +0200)] 
logbl: Remove support for IRIX.

* m4/logbl.m4 (gl_FUNC_LOGBL_WORKS): Remove IRIX <float.h> workaround.

8 months agolog1pl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:01:27 +0000 (23:01 +0200)] 
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.

8 months agolog1pf: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:01:25 +0000 (23:01 +0200)] 
log1pf: Remove support for IRIX.

* m4/log1pf.m4 (gl_FUNC_LOG1PF_WORKS): Remove macro.
(gl_FUNC_LOG1PF): Don't invoke it.

8 months agolog1p: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:01:23 +0000 (23:01 +0200)] 
log1p: Remove support for IRIX.

* lib/log1p.c (log1p): Remove code for IRIX.

8 months agolog10l: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:01:20 +0000 (23:01 +0200)] 
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.

8 months agologl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:00:47 +0000 (23:00 +0200)] 
logl: Remove support for IRIX.

* m4/logl.m4 (gl_FUNC_LOGL_WORKS): Remove IRIX <float.h> workaround.

8 months agoisnan*, isnan*-nolibm: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 21:00:16 +0000 (23:00 +0200)] 
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.

8 months agoisinf: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:36 +0000 (22:59 +0200)] 
isinf: Remove support for IRIX.

* m4/isinf.m4 (gl_ISINFL_WORKS): Remove code for IRIX.

8 months agoisfinite: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:33 +0000 (22:59 +0200)] 
isfinite: Remove support for IRIX.

* m4/isfinite.m4 (gl_ISFINITEL_WORKS): Remove code for IRIX.

8 months agoilogbl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:31 +0000 (22:59 +0200)] 
ilogbl: Remove support for IRIX.

* m4/ilogbl.m4 (gl_FUNC_ILOGBL_WORKS): Remove code for IRIX. Remove IRIX
<float.h> workaround.

8 months agoilogbf: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:28 +0000 (22:59 +0200)] 
ilogbf: Remove support for IRIX.

* m4/ilogbf.m4 (gl_FUNC_ILOGBF_WORKS): Remove code for IRIX.

8 months agoilogb: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:25 +0000 (22:59 +0200)] 
ilogb: Remove support for IRIX.

* m4/ilogb.m4 (gl_FUNC_ILOGB_WORKS): Remove code for IRIX.

8 months agofrexpl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:23 +0000 (22:59 +0200)] 
frexpl: Remove support for IRIX.

* m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Remove code for IRIX. Remove IRIX
<float.h> workaround.

8 months agofrexpf: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:21 +0000 (22:59 +0200)] 
frexpf: Remove support for IRIX.

* m4/frexpf.m4 (gl_FUNC_FREXPF_WORKS): Remove code for IRIX.

8 months agofrexp: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:19 +0000 (22:59 +0200)] 
frexp: Remove support for IRIX.

* m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Remove code for IRIX.

8 months agofmal: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:16 +0000 (22:59 +0200)] 
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.

8 months agofmaf: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:14 +0000 (22:59 +0200)] 
fmaf: Remove support for IRIX.

* m4/fmaf.m4 (gl_FUNC_FMAF): Don't test whether fmaf is declared.

8 months agofma: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:11 +0000 (22:59 +0200)] 
fma: Remove support for IRIX.

* m4/fma.m4 (gl_FUNC_FMA): Don't test whether fma is declared.

8 months agofabsl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:06 +0000 (22:59 +0200)] 
fabsl: Remove support for IRIX.

* m4/fabsl.m4 (gl_FUNC_FABSL_WORKS): Remove macro.
(gl_FUNC_FABSL): Don't invoke it.

8 months agoexpm1f: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:59:03 +0000 (22:59 +0200)] 
expm1f: Remove support for IRIX.

* m4/expm1f.m4 (gl_FUNC_EXPM1F_WORKS): Remove macro.
(gl_FUNC_EXPM1F): Don't invoke it.

8 months agoexpl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:58:31 +0000 (22:58 +0200)] 
expl: Remove support for IRIX.

* m4/expl.m4 (gl_FUNC_EXPL): Remove IRIX <float.h> workaround.

8 months agoceil, rint, round, trunc, *-ieee: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:58:03 +0000 (22:58 +0200)] 
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.

8 months agomath-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:55:08 +0000 (22:55 +0200)] 
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.

8 months agofloat-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:54:15 +0000 (22:54 +0200)] 
float-h: Remove support for IRIX.

* m4/float_h.m4 (gl_FLOAT_H): Remove code for IRIX.

8 months agolanginfo-h: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:53:35 +0000 (22:53 +0200)] 
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.

8 months agoerrno-iter, strerrorname_np: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:53:20 +0000 (22:53 +0200)] 
errno-iter, strerrorname_np: Remove support for IRIX.

* lib/errno-iter.c (errno_iterate): Remove cases for EBADFILT,
EBADRSPEC, EBADTSPEC, EBDHDL, EBUFSIZE, ECANTEXTENT, ECELLDOWN, ECKPT,
ECLOCKCPU, ECONTROLLER, EDELAY, EDESTROYED, EDIRCORRUPTED, EDISJOINT,
EEMPTY, EENDOFMINOR, EENQUEUED, EFSCORRUPTED, EGROUPLOOP, EINIT,
EINVALMODE, EINVALSTATE, EINVALTIME, EIORESID, EJOINED, ELOGINLIM,
EMEMRETRY, EMIGRATED, EMIGRATING, EMUSTRUN, ENFSREMOTE, ENOATTACH,
ENOBWD, ENOEXIST, ENOINTRGROUP, ENOLIMFILE, ENOLOGIN, ENOMESSAGE,
ENOPROC, ENOSERVICE, ENOTCONTROLLER, ENOTENQUEUED, ENOTJOINED,
ENOTSTOPPED, EREMDEV, EWRONGFS.
* lib/strerrorname_np.c (strerrorname_np): Likewise.
* tests/test-strerrorname_np.c (main): Likewise.

8 months agoacl-permissions, file-has-acl: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:52:31 +0000 (22:52 +0200)] 
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.

8 months agoacl, file-has-acl, copy-file tests: Remove support for IRIX.
Bruno Haible [Wed, 10 Sep 2025 20:52:12 +0000 (22:52 +0200)] 
acl, file-has-acl, copy-file tests: Remove support for IRIX.

* tests/test-file-has-acl.sh: Remove code for IRIX ACLs.
* tests/test-set-mode-acl.sh: Likewise.
* tests/test-copy-acl.sh: Likewise.
* tests/test-copy-file.sh: Likewise.
* tests/test-sameacls.c: Update comment.

8 months agoregex: pacify gcc 15.2
Paul Eggert [Wed, 10 Sep 2025 16:22:17 +0000 (09:22 -0700)] 
regex: pacify gcc 15.2

* config/srclist.txt: Stop listing lib/regex.c.
* lib/regex.c: Also ignore -Wswitch-enum.
Needed for gcc 15.2.1 20250808 (Red Hat 15.2.1-1) x86-64.

8 months agoregex: fix support for overriding "gnulib"
Paul Eggert [Wed, 10 Sep 2025 15:33:49 +0000 (08:33 -0700)] 
regex: fix support for overriding "gnulib"

Problem reported by Pádraig Brady in:
https://lists.gnu.org/r/bug-gnulib/2025-09/msg00104.html
* lib/regex_internal.h [!_LIBC]: Simplify by including gettext.h
rather than doing things by hand and mishandling GNULIB_TEXT_DOMAIN.
(gettext_noop) [!_LIBC]: Remove, since gettext.h does that now.
* modules/regex (Depends-on): Add gettext-h.

8 months agomaintainer-makefile: relax coverage requirements
Pádraig Brady [Tue, 9 Sep 2025 18:26:12 +0000 (19:26 +0100)] 
maintainer-makefile: relax coverage requirements

Adjust so that `make coverage` completes for coreutils.
There is no coverage for lib/parse-datetime.y
but everything else is fine.

* top/maint.mk (COVERAGE_CCOPTS): Since we're overriding CFLAGS,
add -Wno-error to relax warning requirements.  Projects usually default
to -O2, and changing from that can very well induce new warnings.
(build-coverage, gen-coverage): Keep going on non-fatal errors.

8 months agoRemove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 18:59:05 +0000 (20:59 +0200)] 
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.

8 months agogettext-h: support overriding "gnulib"
Paul Eggert [Tue, 9 Sep 2025 16:44:55 +0000 (09:44 -0700)] 
gettext-h: support overriding "gnulib"

This is for GNU Diffutils, which is still using the old way
of also translating Gnulib’s msgids.
* lib/gettext.h (GNULIB_TEXT_DOMAIN): New macro.
* lib/argmatch.c, lib/bitset/stats.c, lib/c-stack.c:
* lib/clean-temp-simple.c, lib/clean-temp-simple.c, lib/clean-temp.c:
* lib/closein.c, lib/closeout.c, lib/copy-acl.c, lib/copy-file.c:
* lib/csharpcomp.c, lib/csharpexec.c, lib/cygpath.c, lib/dfa.c:
* lib/error.c, lib/execute.c, lib/gai_strerror.c, lib/getaddrinfo.c:
* lib/getopt.c, lib/javacomp.c, lib/javaexec.c, lib/javaversion.c:
* lib/mkdir-p.c, lib/obstack.c, lib/openat-die.c, lib/os2-spawn.c:
* lib/pagealign_alloc.c, lib/parse-datetime.y, lib/pipe-filter-gi.c:
* lib/pipe-filter-ii.c, lib/quotearg.c, lib/rpmatch.c, lib/set-acl.c:
* lib/sigpipe-die.c, lib/spawn-pipe.c, lib/strsignal.c, lib/timevar.c:
* lib/unicodeio.c, lib/userspec.c, lib/vc-mtime.c, lib/version-etc.c:
* lib/wait-process.c, lib/windows-cygpath.c, lib/xalloc-die.c:
* lib/xbinary-io.c, lib/xfreopen.c, lib/xmemcoll.c, lib/xprintf.c:
* lib/xsetenv.c, lib/xstdopen.c, lib/xstrerror.c, lib/xstrtol-error.c:
(_): Use GNULIB_TEXT_DOMAIN instead of "gnulib" when calling dgettext.
* lib/argmatch.h (ARGMATCH_DEFINE_GROUP):
* lib/file-type.c (file_type):
* lib/regex_internal.h (gettext) [HAVE_LIBINTL_H & ENABLE_NLS & !_LIBC]:
* lib/xstrtol-error.c (xstrtol_error):
Likewise.

8 months agoRemove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:50:18 +0000 (12:50 +0200)] 
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.

8 months agotests: Remove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:49:41 +0000 (12:49 +0200)] 
tests: Remove support for OSF/1.

* tests/test-mbmemcasecmp.h (test_iso_8859_1): Remove code for OSF/1.
* tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE): Likewise.
* tests/test-select.h (test_bad_fd): 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.

8 months agowcsrtombs: Remove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:49:21 +0000 (12:49 +0200)] 
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.

8 months agowcrtomb: Remove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:49:18 +0000 (12:49 +0200)] 
wcrtomb: Remove support for OSF/1.

* m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Remove cross-compilation guess for
OSF/1.

8 months agovma-iter: Remove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:49:14 +0000 (12:49 +0200)] 
vma-iter: Remove support for OSF/1.

* lib/vma-iter.h (VMA_ITERATE_SUPPORTED): Don't define on OSF/1.
* lib/vma-iter.c: Remove code for OSF/1.

8 months agounistd-h: Remove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:49:11 +0000 (12:49 +0200)] 
unistd-h: Remove support for OSF/1.

* lib/unistd.in.h: Remove code for OSF/1.

8 months agottyname_r: Remove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:49:07 +0000 (12:49 +0200)] 
ttyname_r: Remove support for OSF/1.

* m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Remove cross-compilation guess
for OSF/1.

8 months agotruncl: Remove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:49:04 +0000 (12:49 +0200)] 
truncl: Remove support for OSF/1.

* m4/truncl.m4 (gl_FUNC_TRUNCL): Don't test against OSF/1 bug.

8 months agothreadlib: Remove support for OSF/1.
Bruno Haible [Tue, 9 Sep 2025 10:48:47 +0000 (12:48 +0200)] 
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.