aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
authorMike Pall <mike>2024-07-04 01:26:29 +0200
committerMike Pall <mike>2024-07-04 01:26:29 +0200
commit04dca7911ea255f37be799c18d74c305b921c1a6 (patch)
tree0979ae369fbb82e7e5fb1c53fcf5cf5955c95f7b /src/lj_errmsg.h
parent7421a1b33c7ea46f12bba9700c15b5c90253fee0 (diff)
downloadluajit-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.h1
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")
79ERRDEF(CORUN, "cannot resume running coroutine") 79ERRDEF(CORUN, "cannot resume running coroutine")
80ERRDEF(CODEAD, "cannot resume dead coroutine") 80ERRDEF(CODEAD, "cannot resume dead coroutine")
81ERRDEF(COSUSP, "cannot resume non-suspended coroutine") 81ERRDEF(COSUSP, "cannot resume non-suspended coroutine")
82ERRDEF(PRNGSD, "PRNG seeding failed")
82ERRDEF(TABINS, "wrong number of arguments to " LUA_QL("insert")) 83ERRDEF(TABINS, "wrong number of arguments to " LUA_QL("insert"))
83ERRDEF(TABCAT, "invalid value (%s) at index %d in table for " LUA_QL("concat")) 84ERRDEF(TABCAT, "invalid value (%s) at index %d in table for " LUA_QL("concat"))
84ERRDEF(TABSORT, "invalid order function for sorting") 85ERRDEF(TABSORT, "invalid order function for sorting")