Date: Thu, 06 May 2021 01:13:04 +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@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255646 Bug ID: 255646 Summary: newlocale(LC_ALL_MASK, (locale_t) 0) wrongly destroys LC_COLLATE in an existing object Product: Base System Version: 12.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: khw@cpan.org Created attachment 224718 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224718&action= =3Dedit .c that illustrates the bug Compile and run the attached program. The second newlocale() overwrites LC_COLLATE of the object created by the f= irst newlocale(); the objects should be completely independent --=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-255646-227>