* 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.
2025-09-09 Bruno Haible <bruno@clisp.org>
+ 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.
+
wcsrtombs: Remove support for OSF/1.
* m4/wcsrtombs.m4 (gl_WCSRTOMBS_TERMINATION): Remove macro.
(gl_FUNC_WCSRTOMBS): Don't invoke it. Don't define
static void
test_iso_8859_1 (int (*my_casecmp) (const char *, size_t, const char *, size_t), bool assume_byte_values)
{
- #if ! defined __osf__ /* This test fails on OSF/1 5.1. */
{
static const char input1[] = { 'H', 0xF6, 'h', 'l', 'e' };
static const char input2[] = { 'H', 0xD6, 'h', 'L', 'e' };
ASSERT (my_casecmp (input2, SIZEOF (input2), input5, SIZEOF (input5)) > 0);
}
}
- #endif
#if 0 /* This functionality requires ulc_casecmp. */
/* Uppercasing can increase the number of Unicode characters. */
AIX >= 32769
HP-UX >= 8193
IRIX >= 10241
- OSF/1 >= 262145
Solaris <= 7 >= 10241
Solaris >= 8 >= 20481
z/OS >= 131073
Cygwin >= 65537
native Windows >= 4097 (depends on the _pipe argument)
*/
-#if defined __MVS__ || defined __osf__ || (defined __linux__ && (defined __ia64__ || defined __mips__))
+#if defined __MVS__ || (defined __linux__ && (defined __ia64__ || defined __mips__))
# define PIPE_DATA_BLOCK_SIZE 270000
#elif defined __linux__ && defined __sparc
# define PIPE_DATA_BLOCK_SIZE 140000
static void
test_bad_fd (select_fn my_select)
{
- /* This tests fails on OSF/1 and native Windows, even with fd = 16. */
-#if !(defined __osf__ || defined WINDOWS_NATIVE)
+ /* This tests fails on native Windows, even with fd = 16. */
+#if !defined WINDOWS_NATIVE
int fd;
/* On Linux, Mac OS X, *BSD, values of fd like 99 or 399 are discarded
/* 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 __osf__ || defined __sun)
+ || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-8. */
/* 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 __osf__ || defined __sun)
+ || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-8. */
/* 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 __osf__ || defined __sun)
+ || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-16. */
/* 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 __osf__ || defined __sun)
+ || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-16. */
/* 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 __osf__ || defined __sun)
+ || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-16. */
/* 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 __osf__ || defined __sun)
+ || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-16. */
/* 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 __osf__ || defined __sun)
+ || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-8. */
/* 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 __osf__ || defined __sun)
+ || !(defined _AIX || defined __sgi || defined __hpux || defined __sun)
if (iconv_supports_encoding ("ISO-2022-JP-2"))
{
/* Test conversions from autodetect_jp to UTF-8. */