This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/5033] New: locarchive does not provide fallback for mmap()


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]