summaryrefslogtreecommitdiffstats
path: root/Lib/posixfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/posixfile.py')
-rw-r--r--Lib/posixfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/posixfile.py b/Lib/posixfile.py
index 2db37e0..d358dc4 100644
--- a/Lib/posixfile.py
+++ b/Lib/posixfile.py
@@ -176,7 +176,7 @@ class _posixfile_:
import sys, os
if sys.platform in ('netbsd1',
'openbsd2',
- 'freebsd2', 'freebsd3',
+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'bsdos2', 'bsdos3', 'bsdos4'):
flock = struct.pack('lxxxxlxxxxlhh', \
l_start, l_len, os.getpid(), l_type, l_whence)
@@ -192,7 +192,7 @@ class _posixfile_:
if '?' in how:
if sys.platform in ('netbsd1',
'openbsd2',
- 'freebsd2', 'freebsd3',
+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'bsdos2', 'bsdos3', 'bsdos4'):
l_start, l_len, l_pid, l_type, l_whence = \
struct.unpack('lxxxxlxxxxlhh', flock)