diff options
Diffstat (limited to 'term/munge.c')
-rw-r--r-- | term/munge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/term/munge.c b/term/munge.c index 96b0df39..242dd367 100644 --- a/term/munge.c +++ b/term/munge.c @@ -306,7 +306,7 @@ erase_1 (char erase_char) write_erase_sequence (); } if (echo_qsize == 0) - assert (echo_pstart == output_psize); + assert_backtrace (echo_pstart == output_psize); } else reprint_line (); @@ -712,7 +712,7 @@ create_queue (int size, int lowat, int hiwat) struct queue *q; q = malloc (sizeof (struct queue) + size * sizeof (quoted_char)); - assert (q); + assert_backtrace (q); q->susp = 0; q->lowat = lowat; @@ -720,7 +720,7 @@ create_queue (int size, int lowat, int hiwat) q->cs = q->ce = q->array; q->arraylen = size; q->wait = malloc (sizeof (pthread_cond_t)); - assert (q->wait); + assert_backtrace (q->wait); pthread_cond_init (q->wait, NULL); return q; |