Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin


Modified Files:
        main.c 


Log Message:
we don't want real random numbers, else debugging could become difficult

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -3 -r1.95 -r1.96
--- main.c      14 Dec 2007 17:30:07 -0000      1.95
+++ main.c      14 Dec 2007 19:25:01 -0000      1.96
@@ -20,7 +20,6 @@
 #include <fcntl.h>
 #include <ctype.h>
 #include <unistd.h>
-#include <time.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <Ecore.h>
@@ -123,7 +122,7 @@
        double start_time = 0, end_time = 0;
 
        /* init the randomizer */
-       srand(time(NULL));
+       srand(1);
 
        /* check for any flags before ewl_init to avoid opening the display */
        for (i = 0; i < argc; i++)



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to