Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet/src/lib


Modified Files:
        eet_lib.c 


Log Message:


refuse to handle a 0 sized file without an error

===================================================================
RCS file: /cvs/e/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -3 -r1.80 -r1.81
--- eet_lib.c   25 Sep 2007 18:26:49 -0000      1.80
+++ eet_lib.c   12 Nov 2007 06:15:08 -0000      1.81
@@ -497,6 +497,10 @@
        else
          return NULL;
      }
+   else if (file_stat.st_size == 0)
+     {
+       return NULL;
+     }
 
    /* We found one */
    if (ef && (file_stat.st_mtime != ef->mtime))



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to