projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33ae143
)
more dirent usage. nix.
author
Carsten Haitzler
<raster@rasterman.com>
Sat, 30 Oct 2010 06:22:14 +0000
(06:22 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Sat, 30 Oct 2010 06:22:14 +0000
(06:22 +0000)
SVN revision: 54019
src/lib/elm_config.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_config.c
b/src/lib/elm_config.c
index
1f3c9de
..
7b607a7
100644
(file)
--- a/
src/lib/elm_config.c
+++ b/
src/lib/elm_config.c
@@
-440,17
+440,9
@@
_elm_config_profiles_list(void)
if (info->name_length >= len)
continue;
- switch (info->
dirent->d_
type)
+ switch (info->type)
{
- case DT_UNKNOWN:
- if (stat(info->path, &buffer) != 0)
- goto it_free;
-
- if (S_ISDIR(buffer.st_mode))
- S_ISDIR_CASE_DO
- break;
-
- case DT_DIR:
+ case EINA_FILE_DIR:
S_ISDIR_CASE_DO
break;