Enlightenment CVS committal
Author : xcomputerman
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/client
Modified Files:
entrance_auth.c
Log Message:
clearenv() only available in glibc
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_auth.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- entrance_auth.c 4 Dec 2004 03:13:55 -0000 1.18
+++ entrance_auth.c 8 Dec 2004 17:54:22 -0000 1.19
@@ -317,7 +317,14 @@
if (!e || !e->pw)
return;
+
+/* clearenv() is only availble in glibc */
+#if HAVE_CLEARENV
clearenv();
+#else
+ environ = NULL;
+#endif
+
e->env = environ;
setenv("XAUTHORITY", buf, 1);
setenv("TERM", "vt100", 0); // TERM=linux?
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs