--- lib/cache.c.orig Fri Jul 20 21:26:19 2001 +++ lib/cache.c Wed Jan 2 13:54:45 2002 @@ -45,7 +45,7 @@ } g_free (tempstr); - srand (time (NULL)); + srandomdev(); tempstr = NULL; cachefile = NULL; do @@ -57,7 +57,7 @@ g_free (cachefile); cachefile = g_strdup_printf ("cache%ld", - 1 + (long) (99999999.0 * rand () / + 1 + (long) (99999999.0 * random () / (RAND_MAX + 1.0))); tempstr = g_strdup_printf ("%s/%s", cachedir, cachefile); }