From nobody Sat Oct 29 02:24:30 2022 X-Original-To: standards@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 4Mzjsp43Wnz4gcQd for ; Sat, 29 Oct 2022 02:24:30 +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 4Mzjsp1y9cz3jKc for ; Sat, 29 Oct 2022 02:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4Mzjsp11xjz11Vv for ; Sat, 29 Oct 2022 02:24:30 +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 29T2OUxb037039 for ; Sat, 29 Oct 2022 02:24:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29T2OUts037038 for standards@FreeBSD.org; Sat, 29 Oct 2022 02:24:30 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: standards@FreeBSD.org Subject: [Bug 267410] strfmon_l: Fix strfmon_l(3) Date: Sat, 29 Oct 2022 02:24:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: 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: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667010270; 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; bh=VeppQHYd6p4q3WI4iJDnoEkSPz5j+4A1caDviHnptVc=; b=u738ZvHFS3QzyumQU3ZqaMmQ+oyZ4Uz/QBUPR5nJ1r1h/ibzQtkzaNu0kOshXqY2K+rpGn tgm5Ms6PQ5yAGV+tfP/Qpvxoq8R4Y7tjdzvpwxdlSWmhaPF19i8x0nS3vDVcPAfDlk70Fb PNOFdZwn6u8AdmffLFgEzmqyjTKRHgVdJ7eTVYbR85jLpUIQDOZKEYGwhn1DMF+7BOxVKu KAS9ionAPE0Rq8+1sbQRw21tmXvW0QiYUzqs6M41qznWtEheYL1Vayq0dxKLhqT6YmQtn8 X5eiKcY6nLOvrf+KuSbdeM7HrCL05wqk/SOBP93uLylsDiylE+vkSg7tYslsmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667010270; a=rsa-sha256; cv=none; b=E5xlddMTegdHIucBEZNoygX1qbbgzcYjjHFruRy61KsnBY24KbNJDtLYOesvfJ5Z1jbmVr BqupyWSpvnpusiMONNJnrPq4qzrROFBIStTpfrg8dEuC9y9bod3B6e62e9lImsm5k2l9er 5S0Q4ynsM/CbuSSfyT3dUa5DM7s6uZcdwsHBf2JdAYvk6oYLp90+0NYfFog4E0gzb4aLCu W4PCzxLq8agoBfPcUhAE9ZV6k2RHuXkfSGmx8j60TXRbnKxyr3ufmI2vouzD1Hc6MdlqWo 9JBeg7wpUSsr5vqYPhCZvTcEqZvs9ZIDLjTwtu6QqGZewYnkI73Xx18P6aM+9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267410 Bug ID: 267410 Summary: strfmon_l: Fix strfmon_l(3) Product: Base System Version: CURRENT Hardware: Any URL: https://github.com/freebsd/freebsd-src/pull/620 OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: jlduran@gmail.com Created attachment 237701 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237701&action= =3Dedit MWE Attached is a simple MWE that reproduces a few bugs in the current strfmon_= l(3) code. I have created a GitHub pull request (#620), which attempts to fix them: https://github.com/freebsd/freebsd-src/pull/620 % ./strfmon_l_mwe=20 Expected: [ **1234,57 =E2=82=AC] [ **1.234,57 EUR] Actual: [ =E2=82=AC**1234.57 ] [ EUR**1234.57 ] Expected: [ =C2=A3**1234.57] [ GBP**1,234.57] Actual: [ =C2=A3**1234.57 ] [ GBP**1234.57 ] Posting it here fore visibility and tracking. --=20 You are receiving this mail because: You are the assignee for the bug.=