mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Issue #12821: Fix test_fcntl failures on OpenBSD 5.
This commit is contained in:
parent
12682b10a7
commit
cdaafe0f9e
2 changed files with 4 additions and 6 deletions
|
|
@ -27,12 +27,8 @@ def get_lockdata():
|
||||||
else:
|
else:
|
||||||
start_len = "qq"
|
start_len = "qq"
|
||||||
|
|
||||||
if sys.platform in ('netbsd1', 'netbsd2', 'netbsd3',
|
if (sys.platform.startswith(('netbsd', 'freebsd', 'openbsd', 'bsdos'))
|
||||||
'Darwin1.2', 'darwin',
|
or sys.platform == 'darwin'):
|
||||||
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
|
|
||||||
'freebsd6', 'freebsd7', 'freebsd8',
|
|
||||||
'bsdos2', 'bsdos3', 'bsdos4',
|
|
||||||
'openbsd', 'openbsd2', 'openbsd3', 'openbsd4'):
|
|
||||||
if struct.calcsize('l') == 8:
|
if struct.calcsize('l') == 8:
|
||||||
off_t = 'l'
|
off_t = 'l'
|
||||||
pid_t = 'i'
|
pid_t = 'i'
|
||||||
|
|
|
||||||
|
|
@ -183,6 +183,8 @@ Tools/Demos
|
||||||
Tests
|
Tests
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #12821: Fix test_fcntl failures on OpenBSD 5.
|
||||||
|
|
||||||
- Issue #12331: The test suite for lib2to3 can now run from an installed
|
- Issue #12331: The test suite for lib2to3 can now run from an installed
|
||||||
Python.
|
Python.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue