From nobody Wed Sep 20 13:27:10 2023 X-Original-To: bugs@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 4RrK7y2m46z4tgKH for ; Wed, 20 Sep 2023 13:27:10 +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 4RrK7y1HLyz3ST0 for ; Wed, 20 Sep 2023 13:27:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695216430; a=rsa-sha256; cv=none; b=YcK1n245Iu2b8rpLqNpCYUkerWeofUlaQFTtM+Cw1XUrnpsmFub7eolYvZ6a/rU9x3eLcs tb8mM3bQ3493oPDHWEwNR4oXoztcmhoOhX2mCFMLnsJRfA/uNQYa0L4lfTpeMletbYWywB AasGhUEc2O5984YaziunulD+u3uKsTmW9EBTXSS8VCXk9AGy/hxkahZvmKAAi5Tgz6MM0F tvVh2PAi5sNPAvM1bV83fKN4d2K3CTbgwLAV4aNzFoX4wy2QfS9bKR6htJifLjE2WRQN7w aE9tF8VJct/O4zhU6cmnLRN0RulfEXss4cgfKU8qeX5IVE6v9fqUph20a8lR8g== 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=1695216430; 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=PYJCHBXqg1XOEeFHkx+rQgblJ/XT9ziZCNzpOc6eMgQ=; b=DAodFpMz2W2mTba0oFjTnPqD3GmRaGPbjy8xu4NNKO1ukjLdq8YfE/zOCtArpiuJPoN3hA yCS6YdITxcRofC3K//NQ9CCt6r7pPD4tOjRNV6k0lKOyn4SIEm1q0t9y09JZSqkKxv5MQa GfUs/caidvZqTYgYr7pS6LeFNkbSIVhwhc4HPPtXPaH99uHBJqLNoXkXQjxUfCkpuVESdC O/zmdDVwhUJJWp4LoHgkPRrjaall2bCsmrNccFJHEbG2M4olk+r1qFSSArpQpY888ffvSL 1v9v+gAoinTg4N6gYNvkJs8oh4cyIo5GT4a2dNAyEAWPyyxnaSqIgs4wl5lD3w== 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 4RrK7x74L0zxWK for ; Wed, 20 Sep 2023 13:27:09 +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 38KDR9Il034170 for ; Wed, 20 Sep 2023 13:27:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KDR905034169 for bugs@FreeBSD.org; Wed, 20 Sep 2023 13:27:09 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: bugs@FreeBSD.org Subject: [Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C Date: Wed, 20 Sep 2023 13:27:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269375 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da4916232acd614d4d7d7226d678b427aa= cb9730e commit a4916232acd614d4d7d7226d678b427aacb9730e Author: Yuri Pankov AuthorDate: 2023-03-28 15:10:47 +0000 Commit: Yuri Pankov CommitDate: 2023-09-20 13:10:52 +0000 libc: use separate collate objects for C, POSIX, and C.UTF-8 Fix newlocale() overwriting the locale name in collate object when same instance was used for those locales, and querylocale() reporting unexpected value for LC_COLLATE_MASK. PR: 255646, 269375 Reviewed by: markj, bapt (previous version) Differential Revision: https://reviews.freebsd.org/D30146 (cherry picked from commit 269dea90d6eb32690730b0f6a17fb41170483104) lib/libc/locale/collate.c | 17 +++- lib/libc/tests/locale/Makefile | 1 + lib/libc/tests/locale/newlocale_test.c (new) | 111 +++++++++++++++++++++++= ++++ 3 files changed, 126 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=