Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_apps.c
Log Message:
Fix Segv when removing .eapp from all
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- e_apps.c 4 May 2005 11:04:07 -0000 1.41
+++ e_apps.c 8 May 2005 22:37:25 -0000 1.42
@@ -836,11 +836,12 @@
if (a)
{
a->deleted = 1;
- for (l = a->references; l; l = l->next)
+ for (l = a->references; l;)
{
E_App *a2;
a2 = l->data;
+ l = l->next;
if (a2->parent)
_e_app_subdir_rescan(a2->parent);
}
@@ -852,11 +853,12 @@
Evas_List *l;
app->deleted = 1;
- for (l = app->references; l; l = l->next)
+ for (l = app->references; l;)
{
E_App *a2;
a2 = l->data;
+ l = l->next;
if (a2->parent)
_e_app_subdir_rescan(a2->parent);
}
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs