From 70b041bbe737e6b0d87183a63cbcd3d72edb90e8 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Mon, 12 Aug 2002 19:38:01 +0000 Subject: k_mul(): Heh -- I checked in two fixes for the last problem. Only keep the good one . Also checked in a test-aid by mistake. --- Objects/longobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/longobject.c b/Objects/longobject.c index 0f4910e..95e32ce 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -1663,7 +1663,7 @@ k_mul(PyLongObject *a, PyLongObject *b) */ /* 1. Allocate result space. */ - ret = _PyLong_New(asize + bsize + 1); + ret = _PyLong_New(asize + bsize); if (ret == NULL) goto fail; #ifdef Py_DEBUG /* Fill with trash, to catch reference to uninitialized digits. */ @@ -1769,7 +1769,7 @@ long_mul(PyLongObject *v, PyLongObject *w) return Py_NotImplemented; } -#if 1 +#if 0 if (Py_GETENV("KARAT") != NULL) z = k_mul(a, b); else -- cgit v0.12