From: mdw Date: Fri, 10 Dec 1999 23:23:26 +0000 (+0000) Subject: Allocate slightly less memory. X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/9c3df6c0bfcca8dd628ac58fdd74f7c383316362 Allocate slightly less memory. --- diff --git a/mptext.c b/mptext.c index 2894be4..b216fea 100644 --- a/mptext.c +++ b/mptext.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mptext.c,v 1.2 1999/11/20 22:24:15 mdw Exp $ + * $Id: mptext.c,v 1.3 1999/12/10 23:23:26 mdw Exp $ * * Textual representation of multiprecision numbers * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: mptext.c,v $ + * Revision 1.3 1999/12/10 23:23:26 mdw + * Allocate slightly less memory. + * * Revision 1.2 1999/11/20 22:24:15 mdw * Use function versions of MPX_UMULN and MPX_UADDN. * @@ -88,7 +91,7 @@ mp *mp_read(mp *m, int radix, const mptext_ops *ops, void *p) /* --- Initialize the destination number --- */ - MP_MODIFY(m, 16); + MP_MODIFY(m, 4); m->vl = m->v; m->f &= ~MP_UNDEF; @@ -296,6 +299,7 @@ static int verify(dstr *v) } dstr_destroy(&d); + assert(mparena_count(MPARENA_GLOBAL) == 0); return (ok); }