Add support for FreeBSD 6.

This commit is contained in:
Hye-Shik Chang 2004-08-18 15:13:41 +00:00
parent 75b9da4aaf
commit f64700a512
8 changed files with 529 additions and 4 deletions

View file

@ -21,7 +21,7 @@ if sys.platform.startswith('atheos'):
start_len = "qq"
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', 'freebsd6',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2', 'openbsd3'):
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, fcntl.F_WRLCK, 0)