mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 10:48:29 +00:00
Add Conway's Game of Life
This commit is contained in:
parent
db33973e0a
commit
dba7552c1e
22 changed files with 664 additions and 186 deletions
|
@ -33,7 +33,6 @@ relegated noreturn void die(void) {
|
|||
if (!once) {
|
||||
once = true;
|
||||
if (!IsTiny()) {
|
||||
g_runstate |= RUNSTATE_BROKEN;
|
||||
if (IsDebuggerPresent(false)) DebugBreak();
|
||||
ShowBacktrace(STDERR_FILENO, NULL);
|
||||
}
|
||||
|
|
|
@ -203,7 +203,6 @@ relegated void __oncrash(int sig, struct siginfo *si, ucontext_t *ctx) {
|
|||
int gdbpid, err;
|
||||
static bool once;
|
||||
err = errno;
|
||||
g_runstate |= RUNSTATE_BROKEN;
|
||||
if (once) abort();
|
||||
once = true;
|
||||
/* TODO(jart): Needs translation for ucontext_t and possibly siginfo_t. */
|
||||
|
|
|
@ -53,7 +53,6 @@ void __ubsan_abort(const struct UbsanSourceLocation *loc,
|
|||
} else {
|
||||
abort();
|
||||
}
|
||||
g_runstate |= RUNSTATE_BROKEN;
|
||||
if (IsDebuggerPresent(false)) DebugBreak();
|
||||
__start_fatal(loc->file, loc->line);
|
||||
fprintf(stderr, "%s\r\n", description);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue