mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Add support for FreeBSD 6.
This commit is contained in:
parent
75b9da4aaf
commit
f64700a512
8 changed files with 529 additions and 4 deletions
|
@ -185,7 +185,7 @@ class _posixfile_:
|
|||
if sys.platform in ('netbsd1',
|
||||
'openbsd2',
|
||||
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
|
||||
'bsdos2', 'bsdos3', 'bsdos4'):
|
||||
'freebsd6', 'bsdos2', 'bsdos3', 'bsdos4'):
|
||||
flock = struct.pack('lxxxxlxxxxlhh', \
|
||||
l_start, l_len, os.getpid(), l_type, l_whence)
|
||||
elif sys.platform in ['aix3', 'aix4']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue