summaryrefslogtreecommitdiffstats
path: root/Lib/posixfile.py
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2005-07-17 02:36:59 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2005-07-17 02:36:59 (GMT)
commit4e422817eb1bc5a6a42365001ad45683ae07e559 (patch)
tree397742596a52cffed221951ada6ba6f8305014f2 /Lib/posixfile.py
parent149787e7c5c4d9cf5abd1a6bdb3074eae34de1b5 (diff)
downloadcpython-4e422817eb1bc5a6a42365001ad45683ae07e559.zip
cpython-4e422817eb1bc5a6a42365001ad45683ae07e559.tar.gz
cpython-4e422817eb1bc5a6a42365001ad45683ae07e559.tar.bz2
Add support for FreeBSD 7.
Diffstat (limited to 'Lib/posixfile.py')
-rw-r--r--Lib/posixfile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/posixfile.py b/Lib/posixfile.py
index afffb66..763c605 100644
--- a/Lib/posixfile.py
+++ b/Lib/posixfile.py
@@ -179,7 +179,8 @@ class _posixfile_:
if sys.platform in ('netbsd1',
'openbsd2',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
- 'freebsd6', 'bsdos2', 'bsdos3', 'bsdos4'):
+ 'freebsd6', 'freebsd7',
+ 'bsdos2', 'bsdos3', 'bsdos4'):
flock = struct.pack('lxxxxlxxxxlhh', \
l_start, l_len, os.getpid(), l_type, l_whence)
elif sys.platform in ('aix3', 'aix4'):