[Bug 249416] Each call to newlocale(3) with a non-null base argument results in additional memory usage
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 19 18:09:04 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249416
Mark Johnston <markj at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|bugs at FreeBSD.org |markj at FreeBSD.org
--- Comment #2 from Mark Johnston <markj at FreeBSD.org> ---
Created attachment 218084
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218084&action=edit
proposed patch
Here is a proposed patch. I am not certain about it yet, so please be careful
if you want to test it. It is missing a man page update. An exp-run may be
warranted, I'm not sure. The patch may create bugs in anything that relies on
being able to access the base locale after newlocale() returns. Linux
explicitly prohibits this, so I guess we should be ok most of the time.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list