diff options
author | Mike Pall <mike> | 2024-07-04 01:26:29 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2024-07-04 01:26:29 +0200 |
commit | 04dca7911ea255f37be799c18d74c305b921c1a6 (patch) | |
tree | 0979ae369fbb82e7e5fb1c53fcf5cf5955c95f7b /src/lj_errmsg.h | |
parent | 7421a1b33c7ea46f12bba9700c15b5c90253fee0 (diff) | |
download | luajit-04dca7911ea255f37be799c18d74c305b921c1a6.tar.gz luajit-04dca7911ea255f37be799c18d74c305b921c1a6.tar.bz2 luajit-04dca7911ea255f37be799c18d74c305b921c1a6.zip |
Call math.randomseed() without arguments to seed from system entropy.
Reminder: the math.random() PRNG is NOT SUITABLE FOR CRYPTOGRAPHIC USE.
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r-- | src/lj_errmsg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h index 127c06da..109e909c 100644 --- a/src/lj_errmsg.h +++ b/src/lj_errmsg.h | |||
@@ -79,6 +79,7 @@ ERRDEF(SETFENV, LUA_QL("setfenv") " cannot change environment of given object") | |||
79 | ERRDEF(CORUN, "cannot resume running coroutine") | 79 | ERRDEF(CORUN, "cannot resume running coroutine") |
80 | ERRDEF(CODEAD, "cannot resume dead coroutine") | 80 | ERRDEF(CODEAD, "cannot resume dead coroutine") |
81 | ERRDEF(COSUSP, "cannot resume non-suspended coroutine") | 81 | ERRDEF(COSUSP, "cannot resume non-suspended coroutine") |
82 | ERRDEF(PRNGSD, "PRNG seeding failed") | ||
82 | ERRDEF(TABINS, "wrong number of arguments to " LUA_QL("insert")) | 83 | ERRDEF(TABINS, "wrong number of arguments to " LUA_QL("insert")) |
83 | ERRDEF(TABCAT, "invalid value (%s) at index %d in table for " LUA_QL("concat")) | 84 | ERRDEF(TABCAT, "invalid value (%s) at index %d in table for " LUA_QL("concat")) |
84 | ERRDEF(TABSORT, "invalid order function for sorting") | 85 | ERRDEF(TABSORT, "invalid order function for sorting") |