mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Unixware 7 support by Billy G. Allie (SF patch 413011)
This commit is contained in:
parent
11e89c72c1
commit
2242f2fbd0
15 changed files with 2406 additions and 508 deletions
|
@ -21,7 +21,7 @@ if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
|
|||
'bsdos2', 'bsdos3', 'bsdos4',
|
||||
'openbsd', 'openbsd2'):
|
||||
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
|
||||
elif sys.platform in ['aix3', 'aix4', 'hp-uxB']:
|
||||
elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
|
||||
lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)
|
||||
else:
|
||||
lockdata = struct.pack('hhllhh', FCNTL.F_WRLCK, 0, 0, 0, 0, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue