Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e.h e_zone.c 


Log Message:


ok - this is BIZARRE... BUT. if we remove config.h from e.h - e starts
segfaulting in ALL sorts of weird places. totally bizarre! put config.h back
in.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- e.h 14 Sep 2005 20:19:44 -0000      1.28
+++ e.h 15 Sep 2005 01:39:11 -0000      1.29
@@ -4,6 +4,8 @@
 #ifndef E_H
 #define E_H
 
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_zone.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- e_zone.c    14 Sep 2005 06:39:59 -0000      1.72
+++ e_zone.c    15 Sep 2005 01:39:11 -0000      1.73
@@ -2,6 +2,7 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 #include "e.h"
+#include "config.h"
 
 /* E_Zone is a child object of E_Container. There is one zone per screen
  * in a xinerama setup. Each zone has one or more desktops.
@@ -540,6 +541,7 @@
    char *penv_ld_preload_path;
    char buf[4096], buf2[32];
    
+   if (!a) return 0;
    /* save previous env vars we need to save */
    penv_display = getenv("DISPLAY");
    if (penv_display) penv_display = strdup(penv_display);




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to