From nobody Tue Oct 25 21:52:17 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 4Mxlz707thz4g5jg for ; Tue, 25 Oct 2022 21:52:18 +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 4Mxlz571Qrz3jnb for ; Tue, 25 Oct 2022 21:52:17 +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 4Mxlz547yXztRW for ; Tue, 25 Oct 2022 21:52:17 +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 29PLqHuC073999 for ; Tue, 25 Oct 2022 21:52:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29PLqHWS073998 for standards@FreeBSD.org; Tue, 25 Oct 2022 21:52:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 267282] [PATCH] strfmon: Attempt to fix some strfmon(3) bugs Date: Tue, 25 Oct 2022 21:52:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@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: 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=1666734738; 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=+vr1Y4VQYJLSWyW+eT/vl+OoNsjdbIFRlSqL4jQfbmA=; b=weV0Gyd3f7Jw7XEhGuBkIOZh9Sy3q237SzlVun2/DFCxyOI2eA/ldzoNdZ+wLP4iVl+7OX OtO8p8tCrytMG+2+x7lRIt94rhT7euBy0dygbmTu4nf0mLigv0Of1ndcNNf67poA45pcHz oBnZzvj6dCc3QdsnuGYzVveYVAroU28Kd/QsxLTPz59vQEQgF0Y6Vb5TY+2bN2+4gSkEbM HbqdJfCENiD/4N6J0U0lDxuvHuoxdZoSy07cJubNhv0tZ+5XzIElrlVZL7efYLrE1AZtVj StIS+nmOfWWuv/8sVcXmN/NuOSYaO40ta415s/sHjhRLcmryHtK+HNbDLwLIvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666734738; a=rsa-sha256; cv=none; b=IzpPQBnZK7G2RSf378QtZPN9a3QqgPU3KQINtUttcfRtrnwxypCgy178JlKb+N/vTHjI2Y PnacmQu4fa2qewcgKPzSV5U+LL5JvAfHq4f484sodWKW/VxkAWuNAKZwYSdMD4FzDYjoo8 irmuLXV2JYBpmAUnisqnxHryDQXOyRk5DPhM60Zc2Npnj8F9FKEnxmtVZduu0oyVvrAroM +DPptPIEgvYZ6FZB3a3OS6twNpYuA9VZJsBgd7eYmrnF+57Qkg+LFihAKKBisZA4yniI4K GAjEuHJIzegHecolAmhh6cgcvnU6B1Y5cBmb56zoMV6eEsgXhUP5wjAMqz8E5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267282 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6da51e19e347c13e133bcba68cc6100c1= 6320a01 commit 6da51e19e347c13e133bcba68cc6100c16320a01 Author: Jose Luis Duran AuthorDate: 2022-10-21 16:13:27 +0000 Commit: Konstantin Belousov CommitDate: 2022-10-25 21:40:17 +0000 strfmon: Trim the SPACE from international currency symbol The international currency symbol (int_curr_symbol) has a mandatory SPACE character as the last character. Trim this space after reading it, otherwise this extra space will always be printed when displaying the int_curr_symbol. Fixes the output when the international currency format is selected (%i). Locale Format Before After en_US.UTF-8 [%i] [USD 123.45] [USD123.45] fr_FR.UTF-8 [%i] [123,45 EUR ] [123,45 EUR] Note that the en_US.UTF-8 locale states that no space should be printed between the currency symbol and the value (sep_by_space =3D 0). Reviewed by: kib PR: 267282 Github PR: #619 MFC after: 1 week lib/libc/stdlib/strfmon.c | 4 +++- lib/libc/tests/stdlib/strfmon_test.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=