jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6dcde68d249a400b39680f80b07dbaad0801bf4f

commit 6dcde68d249a400b39680f80b07dbaad0801bf4f
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Dec 14 16:14:29 2015 +0900

    Eolian gen: Don't fail if file is empty (--gi)
    
    @fix
---
 src/bin/eolian/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/eolian/main.c b/src/bin/eolian/main.c
index 0de9a28..20bb7d2 100644
--- a/src/bin/eolian/main.c
+++ b/src/bin/eolian/main.c
@@ -62,7 +62,7 @@ _read_file(const char *filename, Eina_Strbuf **buf)
 
    fseek(fd, 0, SEEK_END);
    long file_size = ftell(fd);
-   if (file_size <= 0)
+   if (file_size < 0)
      {
         fprintf(stderr, "eolian: could not get length of '%s'\n", filename);
         fclose(fd);

-- 


Reply via email to