From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EC7703858D37; Mon, 20 Feb 2023 21:52:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC7703858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676929938; bh=ACw0qjEdA/JMWMouDfyptzM6fKugVUbc8A/l5tN5xSc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cRWlNCSOqMla1X7eBF1q57yqJFpl1+XtqGKdp1bnXB3LT1ZcYF/c61IYaczbeOtc/ ox4D4lbAC3WfPNL5hCN2snBX8TO0yJ5JNfV/YFp7gwWILGR9+MObEM8xrQittoI0AV P5D3dqOOMDpW8uBFyP+diJ3k+Xpa0KXL/hZwG7Bs= From: "steffen at sdaoden dot eu" To: glibc-bugs@sourceware.org Subject: [Bug libc/29913] iconv(3) is not POSIX compliant, and does not conform to linux man-pages manual Date: Mon, 20 Feb 2023 21:52:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: steffen at sdaoden dot eu X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29913 --- Comment #14 from Steffen Nurpmeso --- P.P.S.: sorry for the noise! But now, in order to deal with that (as the GNU approach has its merits, really), i downloaded GNU libiconv, and in wchar_to_loop_convert() i see size_t res =3D unicode_loop_convert(&wcd->parent, &inptr,&inleft, &bufptr,&bufleft); if (res =3D=3D (size_t)(-1)) { if (errno =3D=3D EILSEQ) /* Invalid input. */ And so i stop because i wholeheartly agree. I hope it is ok to assume that matching __GNU_LIBRARY__ and _LIBICONV_VERSI= ON (unfortunately this is all compile-time only) is all the way to go to get EILSEQ upon output conversion error? Thank you. --=20 You are receiving this mail because: You are on the CC list for the bug.=