Commits

Anonymous committed 6eda6a1

HP-UX is another one of those platforms using an alternative lock
structure (same as AIX).

  • Participants
  • Parent commits 83aff1e
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/test/test_fcntl.py

                     '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)