Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/file


Modified Files:
        Makefile.am evas_path.c 
Added Files:
        evas_module.c 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Makefile.am 3 Sep 2005 19:42:28 -0000       1.8
+++ Makefile.am 14 Jan 2006 12:13:36 -0000      1.9
@@ -12,6 +12,7 @@
 
 noinst_LTLIBRARIES      = libevas_file.la
 libevas_file_la_SOURCES  = \
-evas_path.c
+evas_path.c \
+evas_module.c
 
 libevas_file_la_DEPENDENCIES = $(top_builddir)/config.h
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_path.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- evas_path.c 18 Jun 2005 01:00:32 -0000      1.10
+++ evas_path.c 14 Jan 2006 12:13:36 -0000      1.11
@@ -52,8 +52,8 @@
 {
    struct stat st;
 
-   if (stat(path, &st) != -1) return 0;
-   return 1;
+   if (!stat(path, &st)) return 1;
+   return 0;
 }
 
 int
@@ -61,7 +61,7 @@
 {
    struct stat st;
 
-   if (stat(path, &st) != -1) return 0;
+   if (stat(path, &st) == -1) return 0;
    if (S_ISREG(st.st_mode)) return 1;
    return 0;
 }
@@ -71,7 +71,7 @@
 {
    struct stat st;
 
-   if (stat(path, &st) != -1) return 0;
+   if (stat(path, &st) == -1) return 0;
    if (S_ISDIR(st.st_mode)) return 1;
    return 0;
 }




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to