Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2023 15:18:38 +0000
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
Message-ID:  <bug-269375-227-YyeHjGDyK0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269375-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269375-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <yuripv@FreeBSD.org>
AuthorDate: 2023-03-28 15:10:47 +0000
Commit:     Yuri Pankov <yuripv@FreeBSD.org>
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269375-227-YyeHjGDyK0>