mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 00:32:29 +00:00
Make improvements
- Bump redbean up to 2.0 - Trim down the MODE=tiny build a bit - Add Indian Standard Time to zoneinfo
This commit is contained in:
parent
c9a981fdbe
commit
7aafa64ab3
17 changed files with 233 additions and 179 deletions
8
third_party/dlmalloc/dlmalloc_abort.greg.c
vendored
8
third_party/dlmalloc/dlmalloc_abort.greg.c
vendored
|
@ -17,13 +17,15 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/weaken.h"
|
||||
#include "libc/intrin/kprintf.h"
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "third_party/dlmalloc/dlmalloc.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
#define MESSAGE "dlmalloc_abort()\n"
|
||||
|
||||
void dlmalloc_abort(void) {
|
||||
kprintf("dlmalloc_abort()%n");
|
||||
write(2, MESSAGE, strlen(MESSAGE));
|
||||
if (weaken(__die)) weaken(__die)();
|
||||
_Exit(44);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue