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

Ulion ulion2002 at gmail.com
Sun Dec 9 05:36:54 CET 2007


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.

-- 
Ulion
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osdmenu_filesel_dir_without_exec.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071209/5523a5fd/attachment.asc>


More information about the MPlayer-dev-eng mailing list