- this stops a whole lot of recursion and eventual segv with ecore_config.

not sure if it is the right fix or not


SVN revision: 17227
This commit is contained in:
Dan Sinclair 2005-10-06 03:03:34 +00:00 committed by Dan Sinclair
parent 2656262714
commit d5d6ed4e5d
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ _ecore_config_recurse_mkdir(const char *file)
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);