Enlightenment CVS committal Author : sebastid Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_file Modified Files: ecore_file.c Log Message: Cleanup =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_file/ecore_file.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- ecore_file.c 10 Oct 2005 16:25:17 -0000 1.30 +++ ecore_file.c 10 Oct 2005 18:35:13 -0000 1.31 @@ -129,11 +129,11 @@ char realpath2[PATH_MAX]; size_t num; - if(realpath(src, realpath1) && realpath(src,realpath2)) - if(!strcmp(realpath1, realpath2)) + if (realpath(src, realpath1) && realpath(src,realpath2)) + if (!strcmp(realpath1, realpath2)) + return 0; + else return 0; - else - return 0; f1 = fopen(src, "rb"); if (!f1) return 0; ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs