Commit 80437d8
committed
Add LUA_USE_C89 for Dreamcast to avoid POSIX calls in Lua
KOS newlib does not support popen, system, or tmpfile. Without
LUA_USE_C89, Lua's os library tries to register wrappers for these
functions, which can leave the os table nil and crash with
"attempt to index a nil value" during sandbox creation.
Signed-off-by: Panagiotis Georgiadis <pgeorgia@redhat.com>1 parent 7a5603b commit 80437d8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments