eio: Use _eio_lstat instead of lstat to improve protability.
authorCedric Bail <cedric.bail@free.fr>
Mon, 11 Mar 2013 19:32:00 +0000 (20:32 +0100)
committerCedric BAIL <cedric.bail@samsung.com>
Tue, 12 Mar 2013 06:58:43 +0000 (15:58 +0900)
src/lib/eio/eio_single.c

index 6ffe6bc..50bc829 100644 (file)
@@ -157,7 +157,7 @@ _eio_file_lstat(void *data, Ecore_Thread *thread)
    Eio_File_Stat *s = data;
    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_struct_2_eina(&s->buffer, &buf);