public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/5033] New: locarchive does not provide fallback for mmap()
@ 2007-09-14  6:51 bernie at codewiz dot org
  0 siblings, 0 replies; only message in thread
From: bernie at codewiz dot org @ 2007-09-14  6:51 UTC (permalink / raw)
  To: glibc-bugs

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 on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-14  6:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-14  6:51 [Bug localedata/5033] New: locarchive does not provide fallback for mmap() bernie at codewiz dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).