Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ecore

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


Modified Files:
        ecore_config_storage.c 


Log Message:
- this stops a whole lot of recursion and eventual segv with ecore_config.
  not sure if it is the right fix or not

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config_storage.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ecore_config_storage.c      18 Sep 2005 12:25:57 -0000      1.10
+++ ecore_config_storage.c      6 Oct 2005 03:03:34 -0000       1.11
@@ -113,7 +113,7 @@
       file_ptr--;
    *file_ptr = '\0';
 
-   if (stat(file_tmp, &status))
+   if ((strlen(file_tmp) > 0) && stat(file_tmp, &status))
      {
        _ecore_config_recurse_mkdir(file_tmp);
        mkdir(file_tmp, S_IRUSR | S_IWUSR | S_IXUSR);




-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to