[MPlayer-dev-eng] [PATCH] OSD menu filesel fix for dir with no executable permission

Ulion ulion2002 at gmail.com
Mon Dec 10 15:12:55 CET 2007


2007/12/9, Ulion <ulion2002 at gmail.com>:
> Hello,
>
> When osd menu browse into a dir with no executable permission, the
> '..' is not detected as a dir.
> Here's the fix. tomorrow I will commit it.
>
> I set such a dir:
>
> drw-r--r--    2 ulion  ulion     68 12  9 10:00 test
>
> osd menu can browse into it ( diropen successed ) and list, but listed
> all files are not accessable because of stat failure, include '..'.
> But for '..' it should be no problem, so we manually get the parent
> dir name and stat it.

Done.

-- 
Ulion



More information about the MPlayer-dev-eng mailing list