X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/31813ed744ceb6cd3febe136fb7057ae06d2d1ed..e7308d2612173a14b26f797ae3aca830859ea3bf:/regress/hcommon.c.m4 diff --git a/regress/hcommon.c.m4 b/regress/hcommon.c.m4 index 760ca0c..62b2d03 100644 --- a/regress/hcommon.c.m4 +++ b/regress/hcommon.c.m4 @@ -311,7 +311,7 @@ void *Hrealloc(void *op, size_t nsz) { return np; } -void Hexit(int rv) { +void Texit(int rv) { struct malloced *loopnode; Tshutdown(); @@ -327,6 +327,13 @@ void Hexit(int rv) { exit(rv); } +void Hexit(int rv) { + vb.used= 0; + Tvbf("exit %d", rv); + Q_vb(); + Texit(0); +} + pid_t Hgetpid(void) { return 2264; /* just some number */ }