annotate src/testdir/sautest/autoload/footest.vim @ 31363:0608de106485 v9.0.1015

patch 9.0.1015: without /dev/urandom srand() seed is too predictable Commit: https://github.com/vim/vim/commit/f0a9c004825ab686270ee57260652cce25e61049 Author: Yasuhiro Matsumoto <mattn.jp@gmail.com> Date: Mon Dec 5 21:55:55 2022 +0000 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)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 23:00:05 +0100
parents cb9b2774f21f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12788
cb9b2774f21f patch 8.0.1271: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents: 5604
diff changeset
1 " Autoload script used by test_listdict.vim, test_exists.vim and test_let.vim
5604
b43363a7b4c7 updated for version 7.4.149
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 let footest#x = 1
b43363a7b4c7 updated for version 7.4.149
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 func footest#F()
b43363a7b4c7 updated for version 7.4.149
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 return 0
b43363a7b4c7 updated for version 7.4.149
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 endfunc