| # | Line 362 | Line 362 | main(int argc, char *argv[]) | |
|---|---|---|
| 362 | /* initialize object types */ | |
| 363 | initotypes(); | |
| 364 | /* initialize urand */ | |
| 365 | < | if (rand_samp) { |
| 366 | < | srandom((long)time(0)); |
| 367 | < | initurand(0); |
| 368 | < | } else { |
| 369 | < | srandom(0L); |
| 370 | < | initurand(2048); |
| 371 | < | } |
| 365 | > | reset_random(); |
| 366 | /* set up signal handling */ | |
| 367 | sigdie(SIGINT, "Interrupt"); | |
| 368 | #ifdef SIGHUP | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |