Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2020 18:09:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 249416] Each call to newlocale(3) with a non-null base argument results in additional memory usage
Message-ID:  <bug-249416-227-oe30rNxen7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249416-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249416-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=3D249416

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |markj@FreeBSD.org

--- Comment #2 from Mark Johnston <markj@FreeBSD.org> ---
Created attachment 218084
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218084&action=
=3Dedit
proposed patch

Here is a proposed patch.  I am not certain about it yet, so please be care=
ful
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.

--=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-249416-227-oe30rNxen7>