# | Line 7 | Line 7 | static const char RCSid[] = "$Id$"; | |
---|---|---|
7 | ||
8 | #include "copyright.h" | |
9 | ||
10 | < | #include <sys/types.h> |
10 | > | #include <time.h> |
11 | #include <signal.h> | |
12 | ||
13 | #include "platform.h" | |
# | Line 227 | Line 227 | main(int argc, char *argv[]) | |
227 | initotypes(); | |
228 | /* initialize urand */ | |
229 | initurand(2048); | |
230 | + | srandom(rand_samp ? (long)time(0) : 0L); |
231 | /* set up signal handling */ | |
232 | sigdie(SIGINT, "Interrupt"); | |
233 | #ifdef SIGHUP |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |