]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
tests: Remove support for IRIX.
authorBruno Haible <bruno@clisp.org>
Wed, 10 Sep 2025 21:19:32 +0000 (23:19 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 10 Sep 2025 21:22:13 +0000 (23:22 +0200)
* 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.

28 files changed:
ChangeLog
modules/math-h-c++-tests
tests/minus-zero.h
tests/test-c32isgraph.c
tests/test-c32isprint.c
tests/test-fma2.h
tests/test-frexpl.c
tests/test-getaddrinfo.c
tests/test-ilogbl.c
tests/test-isgraph_l.c
tests/test-isprint_l.c
tests/test-localeconv-mt.c
tests/test-logbl.c
tests/test-lseek.c
tests/test-nl_langinfo-mt.c
tests/test-printf-frexpl.c
tests/test-sethostname1.c
tests/test-setlocale_null-mt-all.c
tests/test-setlocale_null-mt-one.c
tests/test-sigabbrev_np.c
tests/test-sigdescr_np.c
tests/test-striconveha.c
tests/uniconv/test-u16-conv-from-enc.c
tests/uniconv/test-u16-strconv-from-enc.c
tests/uniconv/test-u32-conv-from-enc.c
tests/uniconv/test-u32-strconv-from-enc.c
tests/uniconv/test-u8-conv-from-enc.c
tests/uniconv/test-u8-strconv-from-enc.c

index 989527fd2ed011df4874f16b9156a0549191c771..755c0293a38605dd8d44317aedb145dd8233e9e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,39 @@
 2025-09-10  Bruno Haible  <bruno@clisp.org>
 
+       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.
+
        relocatable-prog: Remove support for IRIX.
        * build-aux/config.libpath: Remove code for IRIX.
 
index e955e2c9fb4d446e54b22f2a30aafbd83618d3f7..6ea533b0d4e1527137c586315cf4b66fe5c208ab 100644 (file)
@@ -16,6 +16,4 @@ if ANSICXX
 TESTS += test-math-h-c++
 check_PROGRAMS += test-math-h-c++
 test_math_h_c___SOURCES = test-math-h-c++.cc test-math-h-c++2.cc
-# These link dependencies are needed on IRIX 6.5 with cc.
-test_math_h_c___LDADD = $(LDADD) $(COPYSIGNL_LIBM) $(RINT_LIBM) $(RINTL_LIBM)
 endif
index f7bef0d33953c0d27304f862f7ee4292f53fd978..6383064be3e60f6fc2410f534bfcbc6b64f69a89 100644 (file)
@@ -25,7 +25,7 @@
    ICC 10.0 has a bug when optimizing the expression -zero.
    The expression -FLT_MIN * FLT_MIN does not work when cross-compiling
    to PowerPC on Mac OS X 10.5.  */
-#if defined __hpux || defined __sgi || defined __ICC
+#if defined __hpux || defined __ICC
 static float
 compute_minus_zerof (void)
 {
@@ -43,7 +43,7 @@ float minus_zerof = -0.0f;
    ICC 10.0 has a bug when optimizing the expression -zero.
    The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
    to PowerPC on Mac OS X 10.5.  */
-#if defined __hpux || defined __sgi || defined __ICC
+#if defined __hpux || defined __ICC
 static double
 compute_minus_zerod (void)
 {
@@ -58,11 +58,10 @@ double minus_zerod = -0.0;
 /* minus_zerol represents the value -0.0L.  */
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0L.
-   IRIX cc can't put -0.0L into .data, but can compute at runtime.
    ICC 10.0 has a bug when optimizing the expression -zero.
    The expression -LDBL_MIN * LDBL_MIN does not work when cross-compiling
    to PowerPC on Mac OS X 10.5.  */
-#if defined __hpux || defined __sgi || defined __ICC
+#if defined __hpux || defined __ICC
 static long double
 compute_minus_zerol (void)
 {
index 9a11ca166caa1bd4b4c86fd3addf602fada740b2..f6f7276ff800565217416d096eac847d714712bd 100644 (file)
@@ -119,7 +119,7 @@ main (int argc, char *argv[])
           /* U+007F <control> */
           is = for_character ("\177", 1);
           ASSERT (is == 0);
-        #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sgi || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
+        #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
           /* U+00A0 NO-BREAK SPACE */
           is = for_character ("\240", 1);
           ASSERT (is != 0);
index 2879543bcfb781d7fbe4f496ea45a256be178584..b025d7cb4c3850bce81f8c0e3f7392cc885f718e 100644 (file)
@@ -118,7 +118,7 @@ main (int argc, char *argv[])
           /* U+007F <control> */
           is = for_character ("\177", 1);
           ASSERT (is == 0);
-        #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sgi || (defined _WIN32 && !defined __CYGWIN__))
+        #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || (defined _WIN32 && !defined __CYGWIN__))
           /* U+00A0 NO-BREAK SPACE */
           is = for_character ("\240", 1);
           ASSERT (is != 0);
index d7350e30741b47d67b8420781baf3e904a91a3f2..a2f996d925ee070563f56a7e36db81b901cd78d3 100644 (file)
@@ -26,7 +26,7 @@
 #define YE_RANGE 0
 
 /* Define to 1 if you want to allow the behaviour of the 'double-double'
-   implementation of 'long double' (seen on IRIX 6.5 and Linux/PowerPC).
+   implementation of 'long double' (seen on Linux/PowerPC).
    This floating-point type does not follow IEEE 754.  */
 #if MANT_BIT == LDBL_MANT_BIT && LDBL_MANT_BIT == 2 * DBL_MANT_BIT
 # define FORGIVE_DOUBLEDOUBLE_BUG 1
 # define FORGIVE_DOUBLEDOUBLE_BUG 0
 #endif
 
-/* Subnormal numbers appear to not work as expected on IRIX 6.5.  */
-#ifdef __sgi
-# define MIN_SUBNORMAL_EXP (MIN_EXP - 1)
-#else
-# define MIN_SUBNORMAL_EXP (MIN_EXP - MANT_BIT)
-#endif
-
 /* Check rounding behaviour.  */
 
 static void
@@ -159,7 +152,7 @@ test_function (DOUBLE (*my_fma) (DOUBLE, DOUBLE, DOUBLE))
                      (-1)^(xs+ys) * (2^(xe+ye) + 2^(xe+ye-i+1) + 2^(xe+ye-2*i)) */
 
                   /* Test addition (same signs).  */
-                  for (ze = MIN_SUBNORMAL_EXP; ze <= MAX_EXP - 1;)
+                  for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;)
                     {
                       z = sign * POW2 (ze); /* (-1)^(xs+ys) * 2^ze */
                       result = my_fma (x, y, z);
@@ -256,7 +249,7 @@ test_function (DOUBLE (*my_fma) (DOUBLE, DOUBLE, DOUBLE))
 
                   /* Test subtraction (opposite signs).  */
                   if (i > 1)
-                    for (ze = MIN_SUBNORMAL_EXP; ze <= MAX_EXP - 1;)
+                    for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;)
                       {
                         z = - sign * POW2 (ze); /* (-1)^(xs+ys+1) * 2^ze */
                         result = my_fma (x, y, z);
@@ -457,7 +450,7 @@ test_function (DOUBLE (*my_fma) (DOUBLE, DOUBLE, DOUBLE))
 
                   /* Test subtraction (opposite signs).  */
                   if (i > 1)
-                    for (ze = MIN_SUBNORMAL_EXP; ze <= MAX_EXP - 1;)
+                    for (ze = MIN_EXP - MANT_BIT; ze <= MAX_EXP - 1;)
                       {
                         z = - sign * POW2 (ze); /* (-1)^(xs+ys+1) * 2^ze */
                         result = my_fma (x, y, z);
index 5cb4e99afb3d186ade8d035d6faa612bc8f24cee..550648b623d8c692f5e7ef26dec897a1a309107f 100644 (file)
@@ -49,14 +49,10 @@ SIGNATURE_CHECK (frexpl, long double, (long double, int *));
 #define MINUS_ZERO minus_zerol
 #define MAX_EXP LDBL_MAX_EXP
 #define MIN_EXP LDBL_MIN_EXP
-/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
-   exponent for 'long double' is -964.  Similarly, on PowerPC machines,
-   LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
-   is -968.  For exponents below that, the precision may be truncated to the
-   precision used for 'double'.  */
-#ifdef __sgi
-# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
-#elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
+/* On PowerPC machines, LDBL_MIN_EXP is -1021, but the smallest reliable
+   exponent for 'long double' is -968.  For exponents below that, the precision
+   may be truncated to the precision used for 'double'.  */
+#if defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
 # define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
 #else
 # define MIN_NORMAL_EXP LDBL_MIN_EXP
index de0f4b3208d2016967bc440e989f67c3a7d3f8f0..62f156a02c4930e5f31c4bbb37c65f812ea1156b 100644 (file)
@@ -120,10 +120,6 @@ simple (int pass, char const *host, char const *service)
           fprintf (stderr, "skipping getaddrinfo test: no network?\n");
           return 77;
         }
-      /* IRIX reports EAI_NONAME for "https".  Don't fail the test
-         merely because of this.  */
-      if (res == EAI_NONAME)
-        return 0;
       /* Solaris reports EAI_SERVICE for "http" and "https".  Don't
          fail the test merely because of this.  */
       if (res == EAI_SERVICE)
index ede4ce57024a930e29df30ba4ba3907f67f4a022..3b274fa197deb36b9c366e479e3428b8393d14a4 100644 (file)
@@ -42,14 +42,10 @@ SIGNATURE_CHECK (ilogbl, int, (long double));
 #define MINUS_ZERO minus_zerol
 #define MAX_EXP LDBL_MAX_EXP
 #define MIN_EXP LDBL_MIN_EXP
-/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
-   exponent for 'long double' is -964.  Similarly, on PowerPC machines,
-   LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
-   is -968.  For exponents below that, the precision may be truncated to the
-   precision used for 'double'.  */
-#ifdef __sgi
-# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
-#elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
+/* On PowerPC machines, LDBL_MIN_EXP is -1021, but the smallest reliable
+   exponent for 'long double' is -968.  For exponents below that, the precision
+   may be truncated to the precision used for 'double'.  */
+#if defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
 # define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
 #else
 # define MIN_NORMAL_EXP LDBL_MIN_EXP
index 2ad0033ce29a76c22fdbc0b5fda08d6b5b740b11..006e4128171adb22676c42f6556d976de4a60858 100644 (file)
@@ -112,7 +112,7 @@ main ()
         /* U+007F <control> */
         is = isgraph_l ((unsigned char) '\177', locale);
         ASSERT (is == 0);
-      #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sgi || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
+      #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
         /* U+00A0 NO-BREAK SPACE */
         is = isgraph_l ((unsigned char) '\240', locale);
         ASSERT (is != 0);
index 222e5567bdd1b4008dfe2a79dd896cf90c0bf23f..39182e83dd09d2038e33aa1ca001f50979935e29 100644 (file)
@@ -111,7 +111,7 @@ main ()
         /* U+007F <control> */
         is = isprint_l ((unsigned char) '\177', locale);
         ASSERT (is == 0);
-      #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sgi || (defined _WIN32 && !defined __CYGWIN__))
+      #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || (defined _WIN32 && !defined __CYGWIN__))
         /* U+00A0 NO-BREAK SPACE */
         is = isprint_l ((unsigned char) '\240', locale);
         ASSERT (is != 0);
index a1316046c7456f06e0309481f7c6d040dcab2a3b..b6c28c22853c31a9b833ef2784e39f038bbe0192 100644 (file)
@@ -48,9 +48,7 @@
 # define ENGLISH "en_US"
 # define FRENCH  "fr_FR"
 # define GERMAN  "de_DE"
-# if defined __sgi
-#  define ENCODING ".ISO8859-15"
-# elif defined __hpux
+# if defined __hpux
 #  define ENCODING ".utf8"
 # else
 #  define ENCODING ".UTF-8"
index 4a328a27df0f548f8ed2bd4faeb59e4276457a95..74ba4f53a26981600e2115b60ff2d425e3f180ed 100644 (file)
@@ -35,14 +35,10 @@ SIGNATURE_CHECK (logbl, long double, (long double));
 #define MINUS_ZERO minus_zerol
 #define MAX_EXP LDBL_MAX_EXP
 #define MIN_EXP LDBL_MIN_EXP
-/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
-   exponent for 'long double' is -964.  Similarly, on PowerPC machines,
-   LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
-   is -968.  For exponents below that, the precision may be truncated to the
-   precision used for 'double'.  */
-#ifdef __sgi
-# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
-#elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
+/* On PowerPC machines, LDBL_MIN_EXP is -1021, but the smallest reliable
+   exponent for 'long double' is -968.  For exponents below that, the precision
+   may be truncated to the precision used for 'double'.  */
+#if defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
 # define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
 #else
 # define MIN_NORMAL_EXP LDBL_MIN_EXP
index d134d64c1080748fe1dca132073c1ed5d2326ef9..170f91a29c82130c383d1e885de054a33ebb604c 100644 (file)
@@ -47,7 +47,7 @@ main (int argc, char **argv)
          the current offset.  But BeOS sets it to 0.  */
       ASSERT (lseek (0, (off_t)0, SEEK_CUR) == 2);
 #endif
-#if 0 /* leads to SIGSYS on IRIX 6.5 */
+#if 0 /* unportable test */
       ASSERT (lseek (0, (off_t)0, (SEEK_SET | SEEK_CUR | SEEK_END) + 1) == -1);
       ASSERT (errno == EINVAL);
 #endif
@@ -61,7 +61,7 @@ main (int argc, char **argv)
          the current offset.  But BeOS sets it to 0.  */
       ASSERT (lseek (1, (off_t)0, SEEK_CUR) == 2);
 #endif
-#if 0 /* leads to SIGSYS on IRIX 6.5 */
+#if 0 /* unportable test */
       ASSERT (lseek (1, (off_t)0, (SEEK_SET | SEEK_CUR | SEEK_END) + 1) == -1);
       ASSERT (errno == EINVAL);
 #endif
index e4eb47ae342a98be62892517508a462fb8c4ae37..8095849dd0c1b7c1b70b1c044ab044e12bdfd447 100644 (file)
@@ -48,9 +48,7 @@
 # define ENGLISH "en_US"
 # define FRENCH  "fr_FR"
 # define GERMAN  "de_DE"
-# if defined __sgi
-#  define ENCODING ".ISO8859-15"
-# elif defined __hpux
+# if defined __hpux
 #  define ENCODING ".utf8"
 # else
 #  define ENCODING ".UTF-8"
index caf46b12a27486b6204adf700d84ce9a45a95705..f64f16d53d7a8ae223009d2748e107198dd746af 100644 (file)
 #include "fpucw.h"
 #include "macros.h"
 
-/* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
-   exponent for 'long double' is -964.  Similarly, on PowerPC machines,
-   LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
-   is -968.  For exponents below that, the precision may be truncated to the
-   precision used for 'double'.  */
-#ifdef __sgi
-# define MIN_NORMAL_EXP (LDBL_MIN_EXP + 57)
-# define MIN_SUBNORMAL_EXP MIN_NORMAL_EXP
-#elif defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
+/* On PowerPC machines, LDBL_MIN_EXP is -1021, but the smallest reliable
+   exponent for 'long double' is -968.  For exponents below that, the precision
+   may be truncated to the precision used for 'double'.  */
+#if defined __ppc || defined __ppc__ || defined __powerpc || defined __powerpc__
 # define MIN_NORMAL_EXP (LDBL_MIN_EXP + 53)
 # define MIN_SUBNORMAL_EXP MIN_NORMAL_EXP
 #else
index f6b85fc644ba52a565ea8e6b72e9cd8f2704deb6..384f691616ea7abd355021dbc47417b45c3fef49 100644 (file)
@@ -20,7 +20,7 @@
 #include <unistd.h>
 
 #include "signature.h"
-#if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __sgi || defined __sun)
+#if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __sun)
 SIGNATURE_CHECK (sethostname, int, (const char *, size_t));
 #endif
 
index 09528f243a9ce6d853f890afc09ee312d0ba1403..44efcba854ccd944c1b00270b65013d8734e35b0 100644 (file)
@@ -51,9 +51,7 @@
 # define ENGLISH "en_US"
 # define GERMAN  "de_DE"
 # define FRENCH  "fr_FR"
-# if defined __sgi
-#  define ENCODING ".ISO8859-15"
-# elif defined __hpux
+# if defined __hpux
 #  define ENCODING ".utf8"
 # else
 #  define ENCODING ".UTF-8"
@@ -160,7 +158,6 @@ NetBSD               crash < 2 sec
 OpenBSD              crash < 1 sec
 AIX                  crash < 2 sec
 HP-UX                OK
-IRIX                 OK
 Solaris 10           OK
 Solaris 11.0         OK
 Solaris 11.4         OK
index 3857ad60778b34f0de5b3081f26fdbb1d1a0d38c..e09f88e01b1b2f82efd4e36f882e79491498295c 100644 (file)
@@ -51,9 +51,7 @@
 # define ENGLISH "en_US"
 # define GERMAN  "de_DE"
 # define FRENCH  "fr_FR"
-# if defined __sgi
-#  define ENCODING ".ISO8859-15"
-# elif defined __hpux
+# if defined __hpux
 #  define ENCODING ".utf8"
 # else
 #  define ENCODING ".UTF-8"
@@ -160,7 +158,6 @@ NetBSD               OK
 OpenBSD              crash < 1 sec
 AIX                  crash < 2 sec
 HP-UX                OK
-IRIX                 OK
 Solaris 10           OK
 Solaris 11.0         OK
 Solaris 11.4         OK
index b4f7fa96ded1f69c3928205326c37bc65dbf3cff..33e8bf77f1cc16fddd89232c90c532aff766014f 100644 (file)
@@ -112,10 +112,6 @@ main (void)
   #ifdef SIGBREAK
   ASSERT (strcmp (sigabbrev_np (SIGBREAK), "BREAK") == 0);
   #endif
-  /* IRIX */
-  #ifdef SIGCKPT
-  ASSERT (strcmp (sigabbrev_np (SIGCKPT), "CKPT") == 0);
-  #endif
   /* AIX */
   #ifdef SIGCPUFAIL
   ASSERT (strcmp (sigabbrev_np (SIGCPUFAIL), "CPUFAIL") == 0);
@@ -124,7 +120,7 @@ main (void)
   #ifdef SIGDANGER
   ASSERT (strcmp (sigabbrev_np (SIGDANGER), "DANGER") == 0);
   #endif
-  /* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin, mingw */
+  /* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, Cygwin, mingw */
   #ifdef SIGEMT
   ASSERT (strcmp (sigabbrev_np (SIGEMT), "EMT") == 0);
   #endif
@@ -172,15 +168,7 @@ main (void)
   #ifdef SIGPRE
   ASSERT (strcmp (sigabbrev_np (SIGPRE), "PRE") == 0);
   #endif
-  /* IRIX */
-  #ifdef SIGPTINTR
-  ASSERT (strcmp (sigabbrev_np (SIGPTINTR), "PTINTR") == 0);
-  #endif
-  /* IRIX */
-  #ifdef SIGPTRESCHED
-  ASSERT (strcmp (sigabbrev_np (SIGPTRESCHED), "PTRESCHED") == 0);
-  #endif
-  /* Linux, NetBSD, Minix, AIX, IRIX, Cygwin */
+  /* Linux, NetBSD, Minix, AIX, Cygwin */
   #ifdef SIGPWR
   ASSERT (strcmp (sigabbrev_np (SIGPWR), "PWR") == 0);
   #endif
@@ -192,10 +180,6 @@ main (void)
   #ifdef SIGRECOVERY
   ASSERT (strcmp (sigabbrev_np (SIGRECOVERY), "RECOVERY") == 0);
   #endif
-  /* IRIX */
-  #ifdef SIGRESTART
-  ASSERT (strcmp (sigabbrev_np (SIGRESTART), "RESTART") == 0);
-  #endif
   /* AIX */
   #ifdef SIGRETRACT
   ASSERT (strcmp (sigabbrev_np (SIGRETRACT), "RETRACT") == 0);
@@ -228,10 +212,6 @@ main (void)
   #ifdef SIGTHR
   ASSERT (strcmp (sigabbrev_np (SIGTHR), "THR") == 0);
   #endif
-  /* IRIX */
-  #ifdef SIGUME
-  ASSERT (strcmp (sigabbrev_np (SIGUME), "UME") == 0);
-  #endif
   /* AIX */
   #ifdef SIGVIRT
   ASSERT (strcmp (sigabbrev_np (SIGVIRT), "VIRT") == 0);
@@ -240,7 +220,7 @@ main (void)
   #ifdef SIGWAITING
   ASSERT (strcmp (sigabbrev_np (SIGWAITING), "WAITING") == 0);
   #endif
-  /* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin, Haiku */
+  /* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, Cygwin, Haiku */
   #ifdef SIGWINCH
   ASSERT (strcmp (sigabbrev_np (SIGWINCH), "WINCH") == 0);
   #endif
index 257ff6652c12ea6ba48b465b34c478144407471c..7db09d025485cd0bcec7785e94d7380c896e1f94 100644 (file)
@@ -114,10 +114,6 @@ main (void)
   #ifdef SIGBREAK
   ASSERT (strcmp (sigdescr_np (SIGBREAK), "Ctrl-Break") == 0);
   #endif
-  /* IRIX */
-  #ifdef SIGCKPT
-  ASSERT (strcmp (sigdescr_np (SIGCKPT), "Checkpoint") == 0);
-  #endif
   /* AIX */
   #ifdef SIGCPUFAIL
   ASSERT (strcmp (sigdescr_np (SIGCPUFAIL), "CPU going down") == 0);
@@ -126,7 +122,7 @@ main (void)
   #ifdef SIGDANGER
   ASSERT (strcmp (sigdescr_np (SIGDANGER), "Swap space nearly exhausted") == 0);
   #endif
-  /* glibc, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin, mingw */
+  /* glibc, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, Cygwin, mingw */
   #ifdef SIGEMT
   ASSERT (strcmp (sigdescr_np (SIGEMT), "Instruction emulation needed") == 0
           /* This completely unintelligible message is seen in glibc.  */
@@ -176,15 +172,7 @@ main (void)
   #ifdef SIGPRE
   ASSERT (strcmp (sigdescr_np (SIGPRE), "Programmed exception") == 0);
   #endif
-  /* IRIX */
-  #ifdef SIGPTINTR
-  ASSERT (strcmp (sigdescr_np (SIGPTINTR), "Pthread interrupt") == 0);
-  #endif
-  /* IRIX */
-  #ifdef SIGPTRESCHED
-  ASSERT (strcmp (sigdescr_np (SIGPTRESCHED), "Pthread rescheduling") == 0);
-  #endif
-  /* Linux, NetBSD, Minix, AIX, IRIX, Cygwin */
+  /* Linux, NetBSD, Minix, AIX, Cygwin */
   #ifdef SIGPWR
   ASSERT (strcmp (sigdescr_np (SIGPWR), "Power failure") == 0);
   #endif
@@ -196,10 +184,6 @@ main (void)
   #ifdef SIGRECOVERY
   ASSERT (strcmp (sigdescr_np (SIGRECOVERY), "Kernel recovery") == 0);
   #endif
-  /* IRIX */
-  #ifdef SIGRESTART
-  ASSERT (strcmp (sigdescr_np (SIGRESTART), "Checkpoint restart") == 0);
-  #endif
   /* AIX */
   #ifdef SIGRETRACT
   ASSERT (strcmp (sigdescr_np (SIGRETRACT), "Retracting Keep Alive Poll") == 0);
@@ -232,10 +216,6 @@ main (void)
   #ifdef SIGTHR
   ASSERT (strcmp (sigdescr_np (SIGTHR), "Thread library interrupt") == 0);
   #endif
-  /* IRIX */
-  #ifdef SIGUME
-  ASSERT (strcmp (sigdescr_np (SIGUME), "Uncorrectable memory error") == 0);
-  #endif
   /* AIX */
   #ifdef SIGVIRT
   ASSERT (strcmp (sigdescr_np (SIGVIRT), "Virtual time alarm clock") == 0);
@@ -244,7 +224,7 @@ main (void)
   #ifdef SIGWAITING
   ASSERT (strcmp (sigdescr_np (SIGWAITING), "Thread waiting") == 0);
   #endif
-  /* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin, Haiku */
+  /* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, Cygwin, Haiku */
   #ifdef SIGWINCH
   ASSERT (strcmp (sigdescr_np (SIGWINCH), "Window changed") == 0 /* glibc */
           || strcmp (sigdescr_np (SIGWINCH), "Window size changed") == 0);
index d32ed7223be3d813e58b79d5b3f21432d61b4791..803a312d960ce8070bcfbce1f9c92cf06b6fcec6 100644 (file)
@@ -309,7 +309,7 @@ main ()
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
 # if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
-     || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+     || !(defined _AIX || defined __hpux || defined __sun)
   if (iconv_supports_encoding ("ISO-2022-JP-2"))
     {
       /* Test conversions from autodetect_jp to UTF-8.  */
@@ -549,7 +549,7 @@ main ()
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
 # if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
-     || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+     || !(defined _AIX || defined __hpux || defined __sun)
   if (iconv_supports_encoding ("ISO-2022-JP-2"))
     {
       /* Test conversions from autodetect_jp to UTF-8.  */
index 9a6db116bec371411a2b95e30da938f017ed8eb6..6dffc71e8dc74f9c21c964c6fb2dd79e48653a24 100644 (file)
@@ -118,7 +118,7 @@ main ()
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
 # if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
-     || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+     || !(defined _AIX || defined __hpux || defined __sun)
   if (iconv_supports_encoding ("ISO-2022-JP-2"))
     {
       /* Test conversions from autodetect_jp to UTF-16.  */
index 7481f4862143c9f2748a0bcc7836dfd89cbaf61b..93ebead6b0c64d18b38e9f316d57584fc7ae9b13 100644 (file)
@@ -72,7 +72,7 @@ main ()
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
 # if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
-     || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+     || !(defined _AIX || defined __hpux || defined __sun)
   if (iconv_supports_encoding ("ISO-2022-JP-2"))
     {
       /* Test conversions from autodetect_jp to UTF-16.  */
index 53c16186408b9c8eb20cabd7633502ff69e0328d..677c11fcb0971fd2a142635895c26613a48e9c24 100644 (file)
@@ -118,7 +118,7 @@ main ()
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
 # if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
-     || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+     || !(defined _AIX || defined __hpux || defined __sun)
   if (iconv_supports_encoding ("ISO-2022-JP-2"))
     {
       /* Test conversions from autodetect_jp to UTF-16.  */
index 7c50029d9550130219b67d37494451f77fbe0910..9d7d7349aa62c4792a3886b300787d4943d79a72 100644 (file)
@@ -72,7 +72,7 @@ main ()
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
 # if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
-     || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+     || !(defined _AIX || defined __hpux || defined __sun)
   if (iconv_supports_encoding ("ISO-2022-JP-2"))
     {
       /* Test conversions from autodetect_jp to UTF-16.  */
index 53bf0cf9c9a3a313e2f3a1177a7c8b0d6c3f83c3..f0bc956ecb696306b9e73b5f1cf46773f21a86a4 100644 (file)
@@ -113,7 +113,7 @@ main ()
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
 # if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
-     || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+     || !(defined _AIX || defined __hpux || defined __sun)
   if (iconv_supports_encoding ("ISO-2022-JP-2"))
     {
       /* Test conversions from autodetect_jp to UTF-8.  */
index b118bd6f0eaace4e83bab575c3a661201015e433..0211aa343a941973334c0ec5c4132fa5f2f5ee20 100644 (file)
@@ -63,7 +63,7 @@ main ()
 
   /* autodetect_jp is only supported when iconv() support ISO-2022-JP-2.  */
 # if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \
-     || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
+     || !(defined _AIX || defined __hpux || defined __sun)
   if (iconv_supports_encoding ("ISO-2022-JP-2"))
     {
       /* Test conversions from autodetect_jp to UTF-8.  */