mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
HP-UX is another one of those platforms using an alternative lock
structure (same as AIX).
This commit is contained in:
parent
375732cd41
commit
de33c79fdb
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ if sys.platform in ('netbsd1',
|
|||
'bsdos2', 'bsdos3', 'bsdos4',
|
||||
'openbsd', 'openbsd2'):
|
||||
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
|
||||
elif sys.platform in ['aix3', 'aix4']:
|
||||
elif sys.platform in ['aix3', 'aix4', 'hp-uxB']:
|
||||
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