Commit Graph

2 Commits

Author SHA1 Message Date
3ca3c4725d tiny_game_abort_test: the native reference accepts Wine's abort() exit code 3 (#6539)
Squash-merged after diff review of PR #6539
2026-11-23 12:50:05 -06:00
b2e888f52e runtime: raise SIGABRT from the guest's abort() when a handler is installed
game_abort() ended the run directly, so a title's own SIGABRT handler never ran. Raise SIGABRT only when a handler is registered (the guest's signal() import binds to the host CRT), leaving the default and ignored cases ending with code 3 so the host is never killed. Add a synthetic fixture with handler, returning-handler, ignore and default modes plus a native-vs-loader exit-code test.

AI-assisted (OpenCode)
2026-11-23 01:31:08 +03:00