[MPlayer-dev-eng] [PATCH] use mmap() to simplify menu.conf parsing

Arpi arpi at thot.banki.hu
Sun Mar 9 11:30:54 CET 2003


Hi,

> libmenu/menu.c copies all of menu.conf into a malloc() buffer for
> parsing. It's simpler to just mmap() the file.

but keep in mind that many OS's doesn't have mmap.
so even if we suppott mmap. we still need the 'old way'
and then, for menu.conf (very small file) i see no advantage...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
[Using mailer3 v3.99pre3-CVS beta GSM edition, broken Date: feature enabled]



More information about the MPlayer-dev-eng mailing list