Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de33c79

Browse files
committed
HP-UX is another one of those platforms using an alternative lock
structure (same as AIX).
1 parent 375732c commit de33c79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_fcntl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'bsdos2', 'bsdos3', 'bsdos4',
2222
'openbsd', 'openbsd2'):
2323
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
24-
elif sys.platform in ['aix3', 'aix4']:
24+
elif sys.platform in ['aix3', 'aix4', 'hp-uxB']:
2525
lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)
2626
else:
2727
lockdata = struct.pack('hhllhh', FCNTL.F_WRLCK, 0, 0, 0, 0, 0)

0 commit comments

Comments
 (0)