Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_main.c 


Log Message:


setvbuf for easier debugging

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_main.c    24 Dec 2004 04:30:58 -0000      1.15
+++ e_main.c    24 Dec 2004 04:44:05 -0000      1.16
@@ -63,7 +63,10 @@
    int nowelcome = 0;
    int after_restart = 0; 
    char buf[1024];
-  
+
+   /* for debugging by redirecting stdout of e to a log file to tail */
+   setvbuf(stdout, NULL, _IONBF, 0);
+   
    if (getenv("NOSPLASH")) nosplash = 1;
    if (getenv("NOSTARTUP")) nostartup = 1;
    if (getenv("NOWELCOME")) nowelcome = 1;




-------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to