Remove srandomdev fallback code

This commit is contained in:
ache 1997-06-14 00:37:08 +00:00
parent 3eb72e5222
commit 05b5685ff5
2 changed files with 2 additions and 4 deletions

View File

@ -199,8 +199,7 @@ char *av[];
#endif
init_prob();
if (srandomdev() < 0)
srandom((unsigned long)(time((time_t *) NULL) ^ getpid()));
srandomdev();
do {
get_fort();
} while ((Short_only && fortlen() > SLEN) ||

View File

@ -103,8 +103,7 @@ main(argc, argv)
/* NOTREACHED */
}
if (srandomdev() < 0)
srandom(time(NULL) ^ getpid());
srandomdev();
/* Compute a random exit status between 0 and denom - 1. */
if (random_exit)