Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore_signal.c 


Log Message:
Don't try to printf e->exe->cmd if e->exe doesn't exist
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_signal.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ecore_signal.c      30 Dec 2005 19:17:21 -0000      1.20
+++ ecore_signal.c      1 Jan 2006 04:02:52 -0000       1.21
@@ -208,12 +208,12 @@
                         * check to see for Last Words, and only delay if there 
are any.
                         * This has it's own set of problems.
                         */
-printf("Delaying exit event for %s.\n", e->exe->cmd);
+                       printf("Delaying exit event for %s.\n", e->exe->cmd);
                         ecore_timer_add(0.1, _ecore_signal_exe_exit_delay, e);
                      }
                  else
-{
-printf("Sending exit event for %s.\n", e->exe->cmd);
+                   {
+                      if (e->exe) printf("Sending exit event for %s.\n", 
e->exe->cmd);
                     _ecore_event_add(ECORE_EVENT_EXE_EXIT, e, 
                                   _ecore_event_exe_exit_free, NULL);
 }




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to