Date: Thu, 06 May 2021 09:00:12 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255646] newlocale(LC_ALL_MASK, (locale_t) 0) wrongly destroys LC_COLLATE in an existing object Message-ID: <bug-255646-227-90rkirplWv@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-255646-227@https.bugs.freebsd.org/bugzilla/> References: <bug-255646-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=3D255646 Yuri Pankov <yuripv@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|12.2-RELEASE |CURRENT Component|misc |bin Status|New |Open Assignee|bugs@FreeBSD.org |yuripv@FreeBSD.org CC| |bugs@FreeBSD.org --- Comment #1 from Yuri Pankov <yuripv@FreeBSD.org> --- It's not really destroyed, rather this is a corner case for 3 locales - C, POSIX, C.UTF-8 - using the same static (as in "not loaded from file") colla= te object, and using newlocale() simply overwrites the name. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255646-227-90rkirplWv>