(main) [_WIN32]: remove getpid() from the random seed as
it did not improve the randomness of the seed.
This commit is contained in:
parent
f6666518c7
commit
331aac2afa
1 changed files with 0 additions and 3 deletions
|
@ -195,9 +195,6 @@ main(int argc, char *argv[])
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
rnd_seed = time(NULL);
|
rnd_seed = time(NULL);
|
||||||
#if !defined(_WIN32)
|
|
||||||
rnd_seed += getpid();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
while ((opt = getopt(argc, argv, "ae:ioqs:R:")) != EOF) {
|
while ((opt = getopt(argc, argv, "ae:ioqs:R:")) != EOF) {
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue