0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.1.2343: using time() for srand() is not very random

Problem:    Using time() for srand() is not very random.
Solution:   use /dev/urandom if available
This commit is contained in:
Bram Moolenaar
2019-11-26 12:23:30 +01:00
parent 06b0b4bc27
commit 07e4a19795
3 changed files with 50 additions and 5 deletions

View File

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