[MPlayer-dev-eng] [PATCH] osd menu fielsel.c

Björn Sandell biorn at dce.chalmers.se
Sun Dec 1 01:56:02 CET 2002


On Thu, 21 Nov 2002 16:09:53 +0100
Alban Bedel <albeu at free.fr> wrote:

> I think you'r right it should use only readdir as it's posix. 
> But i don't want this d_type field if it has to fallback
> on stat when it's not avaible. There's no speed concern here so there is
> no point in implementing the same thing 2 times. So keep it simple and
> use as less as possible #ifdef. Do you want to do that or shall i put it
> on my endless TODO (medium to low priority) ?

Here you go. No scandir() an no functions defined within other functions.
Simple enough?

-- 
Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: menu_filesel-diff
Type: application/octet-stream
Size: 3711 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021201/febcb359/attachment.obj>


More information about the MPlayer-dev-eng mailing list