From nobody Tue Sep 12 17:25:23 2023 X-Original-To: numerics@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RlVpW0tQxz4tFjY for ; Tue, 12 Sep 2023 17:25:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RlVpV6thHz4M7L for ; Tue, 12 Sep 2023 17:25:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694539523; a=rsa-sha256; cv=none; b=PEH5xBWV1TpsMe6OFvHN+uGZRZpk0DyFGaDeOu7Dr0uA1Mg3cyX6QRqY0J0g91/rDeQ6QF 2NuHY+yoeIwyLXji8XQ65eOn/IEB00UpWOJ1ROHhIliKj525FH94Tw0zSKm2ZZ1CUpDfGL /hXlSIaOdkYsP649JQcTr8XkbOA0qTFDlStRkvyHdmLcb3aX2zC2d5myDTGWMPrNFtgAZZ BRqu0g1qvuYwqGha7AjUM2eOFtT+P+G3mNQNnzLzEd3p7IzEru+C0QmesSF+ZGuDCwJT+P zAApLr2wd1hYjQLzreRgcjJyZAI6MVlxMicEGxUs2n8jT/iit9trCbdEkaoM0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694539523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NDHQ+SUibV7AMISaZPdXQgG/gGFCEHl3cNXmSx8zUFg=; b=tcghUDlVRd0iITOvzdZLwZmz/lM490c6s/sI/R6dXcmkDsMH1QxOCwc25B2NS9zTzy23fb 4TVMWuLIu7XSgYl8uT8TH942fx+3PBiPFS9gHtsyADL3MZAJPgnDeNSDgjZTGajzViWzYG 6FNizbWvJgCDDGaLtKJq7csyzqRRwrWG/TJoAzyjT5+OIHwbEksEdyrrj6+k+KTX/CtLft i03v8D2AtqYsGzODqYYq2dN01Qg8cZzJmhWaA+5ia1vyZZ0w0ASawXrKmuI7aUF3TaSvdc xn6800iXFWbR2ryKtUKA2sbI9IU4qpl0Af4d413xnUMaawXumb/F6b5ETXZK9A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RlVpV5ymXzgf9 for ; Tue, 12 Sep 2023 17:25:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38CHPMK5016947 for ; Tue, 12 Sep 2023 17:25:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38CHPMRT016946 for numerics@FreeBSD.org; Tue, 12 Sep 2023 17:25:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: numerics@FreeBSD.org Subject: [Bug 272758] c16rtomb and c32rtomb wrong return value (at least on aarch64) Date: Tue, 12 Sep 2023 17:25:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: numerics@FreeBSD.org 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: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions of high quality implementation of libm functions List-Archive: https://lists.freebsd.org/archives/freebsd-numerics List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-numerics@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272758 --- Comment #4 from Dimitry Andric --- Ugh, to make that more readable: > The initial conversion state corresponds, for a conversion in either > direction, to the beginning of a new multibyte character in the > initial shift state. A zero-valued mbstate_t object is (at least) one > way to describe an initial conversion state. A zero- valued mbstate_t > object can be used to initiate conversion involving any multibyte > character sequence, in any LC_CTYPE category setting. If an mbstate_t > object has been altered by any of the functions described in this > subclause, and is then used with a different multibyte character > sequence, or in the other conversion direction, or with a different > LC_CTYPE category setting than on earlier function calls, the behavior > is undefined. --=20 You are receiving this mail because: You are the assignee for the bug.=