Here is a proposed fix for the dreaded "mremap failed" issue. It was
quite easy to fix in the end, I should have done it earlier. I tested
it with a really small mmap window, I'll test it a bit more
extensively when I get a chance. It should make it easier to get rid
of the mmap stuff as well (to support artwork on iphones).
Any objection to committing that?
And this patch gets rid of the mmap/mrremap code altogether since we
can't use mmap on the filesystem currently used on the iphone/ipod
touch. However, it seems it's not enough to get artwork to work on
iphone/ipod touch, some more debugging would be needed by people
owning such a device...
Imo the patch is good to commit (though more testing is always
welcome) except for its use of g_file_set_contents which was added in