This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/5033] New: locarchive does not provide fallback for mmap()
- From: "bernie at codewiz dot org" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sources dot redhat dot com
- Date: 14 Sep 2007 06:51:22 -0000
- Subject: [Bug localedata/5033] New: locarchive does not provide fallback for mmap()
- Reply-to: sourceware-bugzilla at sourceware dot org
Some filesystems, notably JFFS2 which is used in embedded systems such
as the OLPC, cannot support shared writable file mapping.
Providing a fallback seems extremely simple: on mmap() failure, malloc()
a memory buffer and do a final write() operation in close_archive().
Building the locale archive does not seem to be a performance critical
opearation. So we may wish to simplify code by supporting only the
write() mechanism.
If you like the proposal, I volunteer to provide a patch. I should have papers
on file with the FSF for libc too (but I'm not sure).
--
Summary: locarchive does not provide fallback for mmap()
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: libc-locales at sources dot redhat dot com
ReportedBy: bernie at codewiz dot org
CC: dwmw2 at infradead dot org,glibc-bugs at sources dot
redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5033
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.