mirror of
https://github.com/python/cpython.git
synced 2026-06-19 01:21:46 -04:00
68e0135e41
as (~0U) on NetBSD which was causing it to appear as -1 when used as a signed int for _multprocessing.SemLock.SEM_VALUE_MAX. This works around the problem by substituting INT_MAX on systems where it appears negative when used as an int.