]> granicus.if.org Git - python/commitdiff
HP-UX is another one of those platforms using an alternative lock
authorGuido van Rossum <guido@python.org>
Tue, 26 Sep 2000 00:31:18 +0000 (00:31 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 26 Sep 2000 00:31:18 +0000 (00:31 +0000)
structure (same as AIX).

Lib/test/test_fcntl.py

index 3c1be885f0415849afce6952b974fc8c24f8c729..e1ed88b5d1d0d90c38bdfcb461b13c8d35866f59 100755 (executable)
@@ -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)