diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-04-27 17:19:53 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-04-27 17:19:53 +0200 |
| commit | e746f06265981fd17bc656ca59e0ed82f6cea84d (patch) | |
| tree | 9161d4428b889f7aa4375988c4fdc29e1ab02ee2 /src/zsetup.c | |
| parent | Minor word fix in STATUS (diff) | |
| download | libzahl-e746f06265981fd17bc656ca59e0ed82f6cea84d.tar.gz libzahl-e746f06265981fd17bc656ca59e0ed82f6cea84d.tar.bz2 libzahl-e746f06265981fd17bc656ca59e0ed82f6cea84d.tar.xz | |
Add option UNSAFE which disables all internal error checks
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | src/zsetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zsetup.c b/src/zsetup.c index aebef32..df8c0c2 100644 --- a/src/zsetup.c +++ b/src/zsetup.c @@ -46,7 +46,7 @@ zsetup(jmp_buf env) zinit(libzahl_tmp_divmod_ds[i]); libzahl_temp_stack = malloc(256 * sizeof(*libzahl_temp_stack)); - if (unlikely(!libzahl_temp_stack)) + if (check(unlikely(!libzahl_temp_stack))) libzahl_memfailure(); libzahl_temp_stack_head = libzahl_temp_stack; libzahl_temp_stack_end = libzahl_temp_stack + 256; |
