On Tue, Feb 5, 2013 at 12:46 AM, Paulo Alcantara <[email protected]> wrote:
> XFS and other filesystems that do not support d_type field in dirent
> structure will get unexpected behavior when using eina_file_direct_ls()
> - since it relies on d_type to determine file types.
>
> Thus, an eina_file_statat() call is required in eina_file_direct_ls()
> only if the file type had not been determined by using readdir_r().

No, this is the expected behavior. You should have used eina_file_stat_ls().

> I've just got such issue when using elementary_config to change current
> profile - but it wasn't able to list the avaiable profiles since the
> diretory entries in share/elementary/ were not recognized by
> eina_file_direct_ls() function.

This patch should not go in.
--
Cedric BAIL

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to