Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/dox


Modified Files:
        dox.c dox.h 


Log Message:
Use libc setenv when available.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/dox/dox.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- dox.c       18 Feb 2004 22:18:40 -0000      1.24
+++ dox.c       20 Mar 2004 15:28:04 -0000      1.25
@@ -342,9 +342,6 @@
             exit(1);
          }
      }
-   Esetenv("DISPLAY", DisplayString(disp), 1);
-   Esetenv("E_DATADIR", ENLIGHTENMENT_ROOT, 1);
-   Esetenv("E_BINDIR", ENLIGHTENMENT_BIN, 1);
 
    t = 16;
    GetObjects(f);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/dox/dox.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- dox.h       20 Mar 2004 15:20:40 -0000      1.26
+++ dox.h       20 Mar 2004 15:28:04 -0000      1.27
@@ -188,13 +188,6 @@
 
 typedef struct _efont Efont;
 
-#define Esetenv(var, val, overwrite) \
-{ \
-  static char envvar[1024]; \
-  sprintf(envvar, "%500s=%500s", var, val);\
-  putenv(envvar);\
-}
-
 typedef struct _root
 {
    Window              win;




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to