On 12/08/2013 01:41 AM, Gustavo Sverzut Barbieri wrote: > On Sat, Dec 7, 2013 at 7:29 PM, Sebastian Dransfeld <s...@tango.flipp.net> > wrote: >> englebass pushed a commit to branch master. >> >> http://git.enlightenment.org/core/enlightenment.git/commit/?id=05f00710f22382902ac866461f8287a0fce90616 >> >> commit 05f00710f22382902ac866461f8287a0fce90616 >> Author: Sebastian Dransfeld <s...@tango.flipp.net> >> Date: Sat Dec 7 21:32:11 2013 +0100 >> >> Check return value from mkdir >> >> If mkdir fails, no need to stat. >> >> Fixes CID 1039963 >> --- >> src/bin/e_ipc.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/src/bin/e_ipc.c b/src/bin/e_ipc.c >> index 765b56e..e2853ce 100644 >> --- a/src/bin/e_ipc.c >> +++ b/src/bin/e_ipc.c >> @@ -80,7 +80,8 @@ e_ipc_init(void) >> { >> snprintf(buf, sizeof(buf), "%s/e-%s@%x", >> base, user, id1); > good! While not fully related to this patch, but it remembered me that > if set $XDG_RUNTIME_DIR we should use that instead of base + user. It > is guaranteed to be an user-private directory if set (just systemd > does that AFAIK), we can keep the old case for legacy systems. > The code already uses XDG_RUNTIME_DIR.
S. $XDG_RUNTIME_DIR ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel