raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=8762004bf103d58fcced479abe0475e9b2bea695
commit 8762004bf103d58fcced479abe0475e9b2bea695 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Wed Aug 27 16:28:46 2014 +0900 ecore-con - check return of mkdir fix CID 1039699 --- src/lib/ecore_con/ecore_con_local.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_con/ecore_con_local.c b/src/lib/ecore_con/ecore_con_local.c index d24bfed..0d74ea0 100644 --- a/src/lib/ecore_con/ecore_con_local.c +++ b/src/lib/ecore_con/ecore_con_local.c @@ -252,11 +252,15 @@ ecore_con_local_listen( mask = S_IRUSR | S_IWUSR | S_IXUSR; snprintf(buf, sizeof(buf), "%s/.ecore", homedir); if (stat(buf, &st) < 0) - mkdir(buf, mask); + { + if (mkdir(buf, mask) < 0) ERR("mkdir '%s' failed", buf); + } snprintf(buf, sizeof(buf), "%s/.ecore/%s", homedir, svr->name); if (stat(buf, &st) < 0) - mkdir(buf, mask); + { + if (mkdir(buf, mask) < 0) ERR("mkdir '%s' failed", buf); + } snprintf(buf, sizeof(buf), --
