summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-05-22 07:59:05 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-22 07:59:05 -0400
commit8db978aa4cf216632581c629053fb90ed16de33d (patch)
tree58dc41e21b614992a6fd9896291b3717296aaba8 /src/lib/eio
parentaf70c4ff6d51a64bca4f11d7dd61bb29c96ef0b7 (diff)
include evil_private.h in last files, and disable symbolic links on Windows in a couple of files
Test Plan: compilation Reviewers: zmike, raster, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8933
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/efl_io_model.c2
-rw-r--r--src/lib/eio/eio_dir.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/eio/efl_io_model.c b/src/lib/eio/efl_io_model.c
index 87d219c..54dc6a2 100644
--- a/src/lib/eio/efl_io_model.c
+++ b/src/lib/eio/efl_io_model.c
@@ -274,8 +274,10 @@ _efl_io_model_info_type_get(const Eina_File_Direct_Info *info, const Eina_Stat *
274 return EINA_FILE_BLK; 274 return EINA_FILE_BLK;
275 else if (S_ISFIFO(st->mode)) 275 else if (S_ISFIFO(st->mode))
276 return EINA_FILE_FIFO; 276 return EINA_FILE_FIFO;
277#ifndef _WIN32
277 else if (S_ISLNK(st->mode)) 278 else if (S_ISLNK(st->mode))
278 return EINA_FILE_LNK; 279 return EINA_FILE_LNK;
280#endif
279#ifdef S_ISSOCK 281#ifdef S_ISSOCK
280 else if (S_ISSOCK(st->mode)) 282 else if (S_ISSOCK(st->mode))
281 return EINA_FILE_SOCK; 283 return EINA_FILE_SOCK;
diff --git a/src/lib/eio/eio_dir.c b/src/lib/eio/eio_dir.c
index 22544c9..0ae68be 100644
--- a/src/lib/eio/eio_dir.c
+++ b/src/lib/eio/eio_dir.c
@@ -95,8 +95,10 @@ _eio_file_recursiv_ls(Ecore_Thread *thread,
95 if (_eio_lstat(info->path, &buffer) != 0) 95 if (_eio_lstat(info->path, &buffer) != 0)
96 continue; 96 continue;
97 97
98#ifndef _WIN32
98 if (S_ISLNK(buffer.st_mode)) 99 if (S_ISLNK(buffer.st_mode))
99 info->type = EINA_FILE_LNK; 100 info->type = EINA_FILE_LNK;
101#endif
100 default: 102 default:
101 break; 103 break;
102 } 104 }