This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/locale/programs locarchive.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Apr 2009 16:25:41 -0000
- Subject: libc/locale/programs locarchive.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2009-04-24 16:25:41
Modified files:
locale/programs: locarchive.c
Log message:
(RESERVE_MMAP_SIZE): Define.
(create_archive): Reserve address space and then map file into it.
(open_archive): Likewise.
(file_data_available_p): New function.
(compare_from_file): New function.
(close_archive): Adjust to member name changes.
(add_locale): Before comparing locale data, check it is mapped.
Otherwise fall back to reading from the file.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/locale/programs/locarchive.c.diff?cvsroot=glibc&r1=1.26&r2=1.27