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