Should glibc provide a builtin C.UTF-8 locale?
Carlos O'Donell
carlos@redhat.com
Fri Feb 13 12:43:00 GMT 2015
On 02/13/2015 04:23 AM, Andreas Schwab wrote:
> "Carlos O'Donell" <carlos@redhat.com> writes:
>
>> glibc/catgets/open_catalog.c:
>> 216 (struct catalog_obj *) __mmap (NULL, st.st_size, PROT_READ,
>> 217 MAP_FILE|MAP_COPY, fd, 0);
>
> That's for X/Open style msg files, which nobody is using. You need to
> look at intl/loadmsgcat.c.
Thanks.
Similar mmap there:
850 /* Now we are ready to load the file. If mmap() is available we try
851 this first. If not available or it failed we try to load it. */
852 data = (struct mo_file_header *) mmap (NULL, size, PROT_READ,
853 MAP_PRIVATE, fd, 0);
c.
More information about the Libc-alpha
mailing list