Skip to content

Commit

Permalink
Issue python#12821: Fix test_fcntl failures on OpenBSD 5.
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles-François Natali committed Aug 23, 2011
1 parent a5c92b4 commit 6cea35a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Lib/test/test_fcntl.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ def get_lockdata():
else:
start_len = "qq"

if sys.platform in ('netbsd1', 'netbsd2', 'netbsd3',
'Darwin1.2', 'darwin',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'freebsd6', 'freebsd7', 'freebsd8',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2', 'openbsd3', 'openbsd4'):
if (sys.platform.startswith(('netbsd', 'freebsd', 'openbsd', 'bsdos'))
or sys.platform == 'darwin'):
if struct.calcsize('l') == 8:
off_t = 'l'
pid_t = 'i'
Expand Down
6 changes: 6 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Library
- Issue #12650: Fix a race condition where a subprocess.Popen could leak
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?
===========================

Expand Down

0 comments on commit 6cea35a

Please sign in to comment.