svn commit: r356569 - head/lib/libc/locale
Conrad Meyer
cem at freebsd.org
Thu Jan 9 20:59:49 UTC 2020
On Thu, Jan 9, 2020 at 12:49 Mark Johnston <markj at freebsd.org> wrote:
> Author: markj
> Date: Thu Jan 9 20:49:26 2020
> New Revision: 356569
> URL: https://svnweb.freebsd.org/changeset/base/356569
>
> Log:
> libc: Fix a few bugs in the xlocale collation code.
>
> - Fix checks for mmap() failures. [1]
> - Set the "map" and "maplen" fields of struct xlocale_collate so that
> the table destructor actually does something.
> - Free an already-mapped collation file before loading a new one into
> the global table.
> - Harmonize the prototype and definition of __collate_load_tables_l() by
> adding the "static" qualifier to the latter.
>
> PR: 243195
> Reported by: cem [1]
I appreciate the mention for my small role in this but the majority of the
credit (PR report and solid initial diagnosis) should go to Koichi Murase
<myoga.murase AT gmail.com>.
Best,
Conrad
More information about the svn-src-all
mailing list