(RESERVE_MMAP_SIZE): Define.
commit3563d12eab635002849e41ce78b00cb02d373e72
authorUlrich Drepper <drepper@redhat.com>
Fri, 24 Apr 2009 16:25:41 +0000 (24 16:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 24 Apr 2009 16:25:41 +0000 (24 16:25 +0000)
tree780833bdcee927ce07af78fcbe25b4133211d13e
parentfafbc44f8b33d6e0632a41a2b76a73badaa44022
(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.
locale/programs/locarchive.c