author | Kim Alvefur <zash@zash.se> |
Tue, 12 Jan 2016 23:48:16 +0100 | |
changeset 7086 | ac920b0f9eae |
parent 7085 | 8b590fc77d91 |
child 7087 | fdbe9ccac17d |
util/random.lua | file | annotate | diff | comparison | revisions |
--- a/util/random.lua Tue Jan 12 23:47:30 2016 +0100 +++ b/util/random.lua Tue Jan 12 23:48:16 2016 +0100 @@ -6,11 +6,9 @@ -- COPYING file in the source package for more information. -- -local urandom = assert(io.open("/dev/urandom", "r+")); +local urandom = assert(io.open("/dev/urandom", "r")); -local function seed(x) - urandom:write(x); - urandom:flush(); +local function seed() end local function bytes(n)