blob: 65c6f2ac627dc7477fce95b72fe157e308edf801 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/search.c.orig Tue Jun 26 12:55:17 2001
+++ src/search.c Wed May 15 11:29:07 2002
@@ -1246,7 +1246,7 @@
int i;
time_t tclock;
tclock=time(0);
- srand((unsigned)tclock);
+ srand((unsigned)(tclock^(getpid()<<16)));
for(i=0;i<MAXRANDOM;i++)
Randoms[i]=0;
}
|