From: <enl...@li...> - 2006-01-01 04:02:59
|
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); } |