Mercurial > vim
comparison src/version.c @ 18703:aef98a646d3e v8.1.2343
patch 8.1.2343: using time() for srand() is not very random
Commit: https://github.com/vim/vim/commit/07e4a197953d12902fb97beb48830a5323a52280
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 26 12:23:30 2019 +0100
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
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Nov 2019 12:30:04 +0100 |
parents | 128662297ddf |
children | 673f4603d979 |
comparison
equal
deleted
inserted
replaced
18702:fd7bbf832d8f | 18703:aef98a646d3e |
---|---|
735 NULL | 735 NULL |
736 }; | 736 }; |
737 | 737 |
738 static int included_patches[] = | 738 static int included_patches[] = |
739 { /* Add new patch number below this line */ | 739 { /* Add new patch number below this line */ |
740 /**/ | |
741 2343, | |
740 /**/ | 742 /**/ |
741 2342, | 743 2342, |
742 /**/ | 744 /**/ |
743 2341, | 745 2341, |
744 /**/ | 746 /**/ |