> This set of patches removes the support for OSF/1 = Tru64. And one more patch, to clean up a few left-overs:
2025-09-09 Bruno Haible <[email protected]> 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. diff --git a/lib/fseeko.c b/lib/fseeko.c index bfa98ee4bf..f98c1dc56c 100644 --- a/lib/fseeko.c +++ b/lib/fseeko.c @@ -155,7 +155,7 @@ fseeko (FILE *fp, off_t offset, int whence) fp_->_flags &= ~__SEOF; #elif defined __EMX__ /* emx+gcc */ fp->_flags &= ~_IOEOF; -#elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ +#elif defined _IOERR /* AIX, HP-UX, IRIX, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ fp_->_flag &= ~_IOEOF; #elif defined __MINT__ /* Atari FreeMiNT */ fp->__offset = pos; diff --git a/lib/stdbool.in.h b/lib/stdbool.in.h index b7251523e5..c599305a5c 100644 --- a/lib/stdbool.in.h +++ b/lib/stdbool.in.h @@ -80,8 +80,6 @@ "warning: _Bool is a keyword in ISO C99". Use of an enum type, with IRIX cc, leads to a stupid "warning(1185): enumerated type mixed with another type". - Even the existence of an enum type, without a typedef, - "Invalid enumerator. (badenum)" with HP-UX cc on Tru64. The only benefit of the enum, debuggability, is not important with these compilers. So use 'signed char' and no enum. */ # define _Bool signed char diff --git a/m4/threadlib.m4 b/m4/threadlib.m4 index b070a00b50..fef2fe2ecb 100644 --- a/m4/threadlib.m4 +++ b/m4/threadlib.m4 @@ -652,9 +652,6 @@ AC_DEFUN([gl_AVOID_WINPTHREAD] dnl dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK dnl -dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK -dnl -lpthread (gcc) Y -dnl dnl Cygwin posix -lpthread Y OK dnl dnl Mingw windows N OK diff --git a/modules/getprogname b/modules/getprogname index 87117befa7..44f657bc9a 100644 --- a/modules/getprogname +++ b/modules/getprogname @@ -10,7 +10,7 @@ Depends-on: stdlib-h basename-lgpl [test $HAVE_GETPROGNAME = 0] extensions [test $HAVE_GETPROGNAME = 0] -open [test $HAVE_GETPROGNAME = 0 && case "$host_os" in irix* | osf* | sco* | unixware*) true;; *) false;; esac] +open [test $HAVE_GETPROGNAME = 0 && case "$host_os" in irix* | sco* | unixware*) true;; *) false;; esac] configure.ac: AC_REQUIRE([AC_CANONICAL_HOST])
