forked from enlightenment/enlightenment
now E shouldnt segv if efsd goes pfffffffffft
SVN revision: 4226
This commit is contained in:
parent
ba4c6110bb
commit
2920d940f6
5
src/fs.c
5
src/fs.c
|
@ -11,9 +11,9 @@ _e_fs_fd_handle_a_la_cK(int fd)
|
||||||
EfsdEvent ev;
|
EfsdEvent ev;
|
||||||
Evas_List l;
|
Evas_List l;
|
||||||
|
|
||||||
while (efsd_events_pending(ec))
|
while ((ec) && efsd_events_pending(ec))
|
||||||
{
|
{
|
||||||
bzero(&ev, sizeof(EfsdEvent));
|
ZERO(&ev, EfsdEvent, 1);
|
||||||
|
|
||||||
if (efsd_next_event(ec, &ev) >= 0)
|
if (efsd_next_event(ec, &ev) >= 0)
|
||||||
{
|
{
|
||||||
|
@ -29,6 +29,7 @@ _e_fs_fd_handle_a_la_cK(int fd)
|
||||||
{
|
{
|
||||||
efsd_close(ec);
|
efsd_close(ec);
|
||||||
e_del_event_fd(fd);
|
e_del_event_fd(fd);
|
||||||
|
ec = NULL;
|
||||||
/* FIXME: need to queue a popup dialog here saying */
|
/* FIXME: need to queue a popup dialog here saying */
|
||||||
/* efsd went wonky */
|
/* efsd went wonky */
|
||||||
printf("EEEEEEEEEEK efsd went wonky\n");
|
printf("EEEEEEEEEEK efsd went wonky\n");
|
||||||
|
|
Loading…
Reference in New Issue