about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-24 16:25:51 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-24 16:25:51 +0000
commit705341a92faad6305f47511f57ab46af19c10645 (patch)
treeab638ef2a75430bac2969e1ffa1e0f958089d530 /sysdeps
parent57d2da1c6723d11be2e448dd725dd51b5d930255 (diff)
downloadglibc-705341a92faad6305f47511f57ab46af19c10645.tar.gz
glibc-705341a92faad6305f47511f57ab46af19c10645.tar.xz
glibc-705341a92faad6305f47511f57ab46af19c10645.zip
* locale/locarchive.h (struct locarhandle): Rename len field to
	mmaped and add new reserved field.
	* locale/programs/locarchive.c (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.
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions