summaryrefslogtreecommitdiffstats
path: root/Lib/posixfile.py
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2007-10-28 12:38:09 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2007-10-28 12:38:09 (GMT)
commitea684743daa0c198ab327d07832eca48a9578c68 (patch)
tree5a3fc21e9ce8d726eef0171387492ec4c911ba13 /Lib/posixfile.py
parenta838a801f236a6a92c816f0bb20f441e8234c9ac (diff)
downloadcpython-ea684743daa0c198ab327d07832eca48a9578c68.zip
cpython-ea684743daa0c198ab327d07832eca48a9578c68.tar.gz
cpython-ea684743daa0c198ab327d07832eca48a9578c68.tar.bz2
Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet)
Diffstat (limited to 'Lib/posixfile.py')
-rw-r--r--Lib/posixfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/posixfile.py b/Lib/posixfile.py
index 2fa600f..ff29107 100644
--- a/Lib/posixfile.py
+++ b/Lib/posixfile.py
@@ -181,7 +181,7 @@ class _posixfile_:
if sys.platform in ('netbsd1',
'openbsd2',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
- 'freebsd6', 'freebsd7',
+ 'freebsd6', 'freebsd7', 'freebsd8',
'bsdos2', 'bsdos3', 'bsdos4'):
flock = struct.pack('lxxxxlxxxxlhh', \
l_start, l_len, os.getpid(), l_type, l_whence)