Incorporate jasonS05's second OpenOS error handling fix

This commit is contained in:
Adrian Siekierka 2025-04-06 13:31:48 +02:00
parent 6f2260e865
commit 1e643ace90
3 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,9 @@
## Fixes/improvements
* [#3769] Add default user agent configuration option; change OpenComputers' default user agent to "opencomputers/$version".
* [#3759] Add V1 and V2 to the robot name list. (AutumnalModding)
* [#3727] Fix more regressions related to OpenOS error handling. (jasonS05, kcinnajlol)
## List of contributors
asie
asie, AutumnalModding, jasonS05, kcinnajlol

View File

@ -1,7 +1,7 @@
-- called from /init.lua
local raw_loadfile = ...
_G._OSVERSION = "OpenOS 1.8.7"
_G._OSVERSION = "OpenOS 1.8.8"
-- luacheck: globals component computer unicode _OSVERSION
local component = component

View File

@ -81,6 +81,8 @@ function process.load(path, env, init, name)
function(msg)
io.stderr:write("process library exception handler crashed: ", tostring(msg))
end)
result[2] = 128
end
-- onError opens a file, you can't open a file without a process, we close the process last