forked from enlightenment/efl
eio: Use _eio_lstat instead of lstat to improve protability.
This commit is contained in:
parent
376e83c0d5
commit
1f95cbdc7b
|
@ -157,7 +157,7 @@ _eio_file_lstat(void *data, Ecore_Thread *thread)
|
||||||
Eio_File_Stat *s = data;
|
Eio_File_Stat *s = data;
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
|
|
||||||
if (lstat(s->path, &buf) != 0)
|
if (_eio_lstat(s->path, &buf) != 0)
|
||||||
eio_file_thread_error(&s->common, thread);
|
eio_file_thread_error(&s->common, thread);
|
||||||
|
|
||||||
_eio_file_struct_2_eina(&s->buffer, &buf);
|
_eio_file_struct_2_eina(&s->buffer, &buf);
|
||||||
|
|
Loading…
Reference in New Issue