mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Release redbean 2.0.4
This commit is contained in:
parent
d5312b60f7
commit
5ddf43332e
4 changed files with 19 additions and 24 deletions
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue