Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/daemon


Modified Files:
        ipc.c spawner.c 


Log Message:
Handle pam sessions correctly.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/daemon/ipc.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ipc.c       24 Jun 2004 00:57:11 -0000      1.4
+++ ipc.c       28 May 2005 09:31:14 -0000      1.5
@@ -107,7 +107,7 @@
    
    if (!(server = ecore_ipc_server_add(ECORE_IPC_LOCAL_SYSTEM, ipc_title, 0, 
NULL)))
    {
-      entranced_debug("entranced_ipc_init: Failed to open socket.\n");
+      entranced_debug("entranced_ipc_init: Failed to open socket %s.\n", 
ipc_title);
       return FALSE;
    }
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/daemon/spawner.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- spawner.c   16 Jan 2005 04:55:39 -0000      1.24
+++ spawner.c   28 May 2005 09:31:14 -0000      1.25
@@ -488,6 +488,10 @@
       exit(1);
    }
 
+   /* Init IPC */
+   if (!entranced_ipc_init(getpid()))
+      exit(1);
+
    /* Daemonize */
    if (!nodaemon)
    {
@@ -501,9 +505,6 @@
       freopen("/dev/null", "w", stdout);
       freopen("/dev/null", "w", stderr);
    }
-   /* Init IPC */
-   if (!entranced_ipc_init(getpid()))
-      exit(1);
 
    /* Event filter */
    _e_filter =




-------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to