From: Bruno Haible Date: Wed, 10 Sep 2025 21:18:37 +0000 (+0200) Subject: unicodeio: Remove support for IRIX. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cef2f73385d8d46b16cf22473c0ef22336f6904e;p=thirdparty%2Fgnulib.git unicodeio: Remove support for IRIX. * lib/unicodeio.c (unicode_to_mb): Remove code for IRIX. --- diff --git a/ChangeLog b/ChangeLog index 72765b1abd..be83bbc813 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-09-10 Bruno Haible + unicodeio: Remove support for IRIX. + * lib/unicodeio.c (unicode_to_mb): Remove code for IRIX. + threads-h: Remove support for IRIX. * lib/threads.in.h (TSS_DTOR_ITERATIONS): Assume that PTHREAD_DESTRUCTOR_ITERATIONS is defined. diff --git a/lib/unicodeio.c b/lib/unicodeio.c index 5d3d27f48d..6305cbbc42 100644 --- a/lib/unicodeio.c +++ b/lib/unicodeio.c @@ -135,13 +135,8 @@ unicode_to_mb (unsigned int code, - replacing FULLWIDTH COLON with ':', or - replacing a Unicode TAG character (U+E00xx) with an empty string, from replacements that are worse than the FAILURE callback, such as - - replacing 'ç' with '?' (NetBSD, Solaris 11) or '*' (musl) or - NUL (IRIX). */ + - replacing 'ç' with '?' (NetBSD, Solaris 11) or '*' (musl). */ if (inbytesleft > 0 || res == (size_t)(-1) - /* Irix iconv() inserts a NUL byte if it cannot convert. */ -# if !defined _LIBICONV_VERSION && (defined sgi || defined __sgi) - || (res > 0 && code != 0 && outptr - outbuf == 1 && *outbuf == '\0') -# endif /* FreeBSD iconv(), NetBSD iconv(), and Solaris 11 iconv() insert a '?' if they cannot convert. */ # if !defined _LIBICONV_VERSION || (_LIBICONV_VERSION == 0x10b && defined __APPLE__)