[Python-checkins] python/dist/src/Objects longobject.c,1.132,1.133
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Mon, 12 Aug 2002 15:10:02 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv24738/python/Objects
Modified Files:
longobject.c
Log Message:
k_lopsided_mul(): This allocated more space for bslice than necessary.
Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -C2 -d -r1.132 -r1.133
*** longobject.c 12 Aug 2002 22:01:34 -0000 1.132
--- longobject.c 12 Aug 2002 22:10:00 -0000 1.133
***************
*** 1786,1790 ****
/* Successive slices of b are copied into bslice. */
! bslice = _PyLong_New(bsize);
if (bslice == NULL)
goto fail;
--- 1786,1790 ----
/* Successive slices of b are copied into bslice. */
! bslice = _PyLong_New(asize);
if (bslice == NULL)
goto fail;