forked from enlightenment/efl
parent
5f34f2cb76
commit
005cf69302
|
@ -242,6 +242,7 @@ eina_file_dir_list(const char *dir,
|
||||||
if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, ".."))
|
if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, ".."))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
printf("d_name: %s\ndir: %s\n", de->d_name, dir);
|
||||||
cb(de->d_name, dir, data);
|
cb(de->d_name, dir, data);
|
||||||
/* d_type is only available on linux and bsd (_BSD_SOURCE) */
|
/* d_type is only available on linux and bsd (_BSD_SOURCE) */
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,7 @@ static void _dir_arch_list_cb(const char *name, const char *path, void *data)
|
||||||
{
|
{
|
||||||
Dir_List_Get_Cb_Data *cb_data = data;
|
Dir_List_Get_Cb_Data *cb_data = data;
|
||||||
Eina_Module *m;
|
Eina_Module *m;
|
||||||
char *file;
|
char *file = NULL;
|
||||||
size_t length;
|
size_t length;
|
||||||
|
|
||||||
length = strlen(path) + 1 + strlen(name) + 1 +
|
length = strlen(path) + 1 + strlen(name) + 1 +
|
||||||
|
|
Loading…
Reference in New Issue