Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/daemon
Modified Files:
ipc.c
Log Message:
Make path.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/daemon/ipc.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ipc.c 28 May 2005 09:31:14 -0000 1.5
+++ ipc.c 28 May 2005 11:45:03 -0000 1.6
@@ -1,3 +1,5 @@
+#include <Ecore_File.h>
+
#include "ipc.h"
#include "auth.h"
#include "util.h"
@@ -92,6 +94,9 @@
if (!(ecore_ipc_init()))
return FALSE;
+ /* Make sure this path exists */
+ ecore_file_mkpath(PACKAGE_STATE_DIR);
+
memset(buf, 0, sizeof(buf));
snprintf(buf, PATH_MAX, "%s_%d", PACKAGE_STATE_DIR"/"IPC_TITLE, pid);
if (ipc_title)
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs