Release redbean 2.0.4

This commit is contained in:
Justine Tunney 2022-06-19 20:17:23 -07:00
parent d5312b60f7
commit 5ddf43332e
4 changed files with 19 additions and 24 deletions

View file

@ -43,14 +43,7 @@ relegated wontreturn void __die(void) {
if (IsDebuggerPresent(false)) {
DebugBreak();
}
if (weaken(ShowBacktrace)) {
weaken(ShowBacktrace)(2, __builtin_frame_address(0));
} else if (weaken(PrintBacktraceUsingSymbols) && weaken(GetSymbolTable)) {
weaken(PrintBacktraceUsingSymbols)(2, __builtin_frame_address(0),
weaken(GetSymbolTable)());
} else {
kprintf("can't backtrace b/c `ShowCrashReports` not linked\n");
}
ShowBacktrace(2, __builtin_frame_address(0));
__restorewintty();
_Exit(77);
} else if (owner == me) {

View file

@ -35,6 +35,7 @@ static dontinline uint64_t rdrand_failover(void) {
if (r == -1 && errno == EINTR) {
r = 0;
} else if (r == -1 && errno == EAGAIN) {
r = 0;
f = 0;
} else {
return rand64();