Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_file


Modified Files:
        ecore_file.c 


Log Message:


fix realpath

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_file/ecore_file.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- ecore_file.c        1 Mar 2007 16:17:04 -0000       1.55
+++ ecore_file.c        13 Mar 2007 02:28:18 -0000      1.56
@@ -238,7 +238,7 @@
    char  buf[PATH_MAX];
    struct stat st;
 
-   if (!realpath(file, buf) || stat(buf, &st)) return strdup("");
+   if (!realpath(file, buf)) return strdup("");
    return strdup(buf);
 }
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to