1
0
forked from aniani/vim

patch 9.0.1015: without /dev/urandom srand() seed is too predictable

Problem:    Without /dev/urandom srand() seed is too predictable.
Solution:   Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto,
            closes #11656)
This commit is contained in:
Yasuhiro Matsumoto
2022-12-05 21:55:55 +00:00
committed by Bram Moolenaar
parent 25201016d5
commit f0a9c00482
3 changed files with 46 additions and 2 deletions

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1015,
/**/
1014,
/**/