Improve seed() builtin

Increase size of random() data used by seed().
This commit is contained in:
Landon Curt Noll
2021-12-07 13:47:00 -08:00
parent b7d1fb096d
commit a02f8aa9f9

2
seed.c
View File

@@ -80,7 +80,7 @@
#endif
#if defined(HAVE_STDLIB_H)
# include <stdlib.h>
# define RANDOM_CNT (8) /* double random() call repeat count */
# define RANDOM_CNT (16) /* random() call repeat count */
# define INITSTATE_SIZE (256) /* initstate pool size */
#endif
#include <setjmp.h>