Kaydet (Commit) 6cea35a8 authored tarafından Charles-François Natali's avatar Charles-François Natali

Issue #12821: Fix test_fcntl failures on OpenBSD 5.

üst a5c92b47
...@@ -23,12 +23,8 @@ def get_lockdata(): ...@@ -23,12 +23,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'
......
...@@ -31,6 +31,12 @@ Library ...@@ -31,6 +31,12 @@ Library
- Issue #12650: Fix a race condition where a subprocess.Popen could leak - Issue #12650: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time. resources (FD/zombie) when killed at the wrong time.
Tests
-----
- Issue #12821: Fix test_fcntl failures on OpenBSD 5.
What's New in Python 3.2.2? What's New in Python 3.2.2?
=========================== ===========================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment