]> granicus.if.org Git - python/commit
Avoid using calloc(). This triggered an obscure bug on multiprocessor
authorGuido van Rossum <guido@python.org>
Thu, 16 Jul 1998 15:06:13 +0000 (15:06 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 16 Jul 1998 15:06:13 +0000 (15:06 +0000)
commit0fd00334c676e680818453eee50a7998889e6ca9
tree471323b513327f3ba331adc21ce2431c89e02017
parent93d1fe1c56444e06e704582ddbf6ba77deadc0fd
Avoid using calloc().  This triggered an obscure bug on multiprocessor
Sparc Solaris 2.6 (fully patched!) that I don't want to dig into, but
which I suspect is a bug in the multithreaded malloc library that only
shows up when run on a multiprocessor.  (The program wasn't using
threads, it was just using the multithreaded C library.)
Objects/dictobject.c