Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 9290:2340f615da8f legacy-trunk
BSDI specific patches, inspired by Nigel Head and otto@mail.olympus.net.
Also (non-BSDI specific):
- Change the CHECK_STATUS() macro so it tests for nonzero error codes
instead of negative error codes only (this was needed for BSDI, but
appears to be correct according to the PTHREADS spec).
- use memset() to zero out the allocated lock structure. Again, this
was needed for BSDI, but can't hurt elsewhere either.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 07 Oct 1998 16:39:47 +0000 |
| parents | 44baef8ab5c8 |
| children | 81574e4646b4 |
