[Bug 255646] newlocale(LC_ALL_MASK, (locale_t) 0) wrongly destroys LC_COLLATE in an existing object
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 6 01:13:04 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255646
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 at FreeBSD.org
Reporter: khw at cpan.org
Created attachment 224718
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224718&action=edit
.c that illustrates the bug
Compile and run the attached program.
The second newlocale() overwrites LC_COLLATE of the object created by the first
newlocale(); the objects should be completely independent
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list