Enlightenment CVS committal

Author  : xcomputerman
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        entrance_session.c 


Log Message:
Fix IPC shutdown error (don't shutdown IPC before config)

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_session.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- entrance_session.c  16 Aug 2005 04:03:27 -0000      1.72
+++ entrance_session.c  25 Aug 2005 05:02:01 -0000      1.73
@@ -386,7 +386,11 @@
    }
 
    if (e->testing)
+   {
+      printf("Would have executed: %s\n", buf);
+      fflush(stdout);
       snprintf(buf, PATH_MAX, "/usr/X11R6/bin/xterm");
+   }
 
    syslog(LOG_INFO, "Executing %s", buf);
 
@@ -396,10 +400,6 @@
       ecore_evas_free(e->ee);
       e->ee = NULL;
    }
-   edje_shutdown();
-   ecore_evas_shutdown();
-   ecore_x_sync();
-   entrance_ipc_shutdown();
 
    syslog(LOG_NOTICE, "Starting session for user \"%s\".", e->auth->user);
 
@@ -422,13 +422,19 @@
 #endif
 
    _entrance_session_user_list_fix(e);
-   ecore_config_shutdown();
 
    /* avoid doubling up pam handles before the fork */
    pwent = struct_passwd_dup(e->auth->pw);
    entrance_auth_free(e->auth);
    e->auth = NULL;
 
+   /* Shutdown subsytems */
+   edje_shutdown();
+   ecore_evas_shutdown();
+   ecore_config_shutdown();
+   ecore_x_sync();
+   entrance_ipc_shutdown();
+   
    switch ((pid = fork()))
    {
      case 0:




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to