From nobody Tue Mar 28 15:18:38 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 4PmCxp4PXVz423kv for ; Tue, 28 Mar 2023 15:18:38 +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 4PmCxp3HZkz3M8T for ; Tue, 28 Mar 2023 15:18:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680016718; 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=FCaeB7pPcsaVNDi7LTNPykkohdO2VsgFtI/VGB+lPiM=; b=hQxh4hhvyJyX+YlagJZ8f1BLn3+gFJ8V1+dJoAXavGNYwM7y2GkXYxcXfKSJUpMlQgkB1d lT0f5ZD8e8lwbbu1Kb/kxNbzPgr39GMY+72qrBV71zFSH/RwdfaVorNUbENtavfxXQpKYB bjn8lKg0SUIM9edAiV3d2E7xIR1T8o5xS4y9MTX+a3oLiA3TlIvMnLpjN0oJkWbm8kIelV vu4te6zHjhYd+Rpy9txZQp5b04MXL1444SK7Uxi4sRsOIy9LVYH71S/dbgDZUFtNjaxwUE HmpJd//41bN94wNjfII6KxoaLO3RG4UY+xEgr37mGXpP+p9lk4bqtNaIyBr1iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680016718; a=rsa-sha256; cv=none; b=jMZSSMDUQJhUpsxq4OjscqiT1qIfi93FUOZ0ENPbYfaZlITjLU+PXc1yaw9/tLzix9KgU6 8D1qTKYbzTMKldDHhRvwPV6L0X5i37/7ngrfb9S8m1J64O/6TfWu9wAc4/zQceDn10mnT5 iwFHV7abRaQbICYlbnvVBZV/60zosMD8SRGDsL6Jov8St4yqrslJE7yqtA2kmnZmYAbYm2 w/CXGs4xzlfQyA5+NOv1AxpEchg+3F9Ua2FF5GcvFbaHnvnIELkHo2xOYHDMJoWCHgJXpO PO1cAAG8SWRNYxfI+UlHb9xATXlgtImYlrNKLlwSPklXKKcE2Q22azssyRXFxQ== 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 4PmCxp2LcFz18L2 for ; Tue, 28 Mar 2023 15:18:38 +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 32SFIcbn027198 for ; Tue, 28 Mar 2023 15:18:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32SFIc3i027197 for bugs@FreeBSD.org; Tue, 28 Mar 2023 15:18:38 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: Tue, 28 Mar 2023 15:18:38 +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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269375 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D269dea90d6eb32690730b0f6a17fb4117= 0483104 commit 269dea90d6eb32690730b0f6a17fb41170483104 Author: Yuri Pankov AuthorDate: 2023-03-28 15:10:47 +0000 Commit: Yuri Pankov CommitDate: 2023-03-28 15:16:30 +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 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.=