From: Guido van Rossum Date: Tue, 26 Sep 2000 00:31:18 +0000 (+0000) Subject: HP-UX is another one of those platforms using an alternative lock X-Git-Tag: v2.0b2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de33c79fdb1241b3ade03daf905572de262b0c50;p=python HP-UX is another one of those platforms using an alternative lock structure (same as AIX). --- diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index 3c1be885f0..e1ed88b5d1 100755 --- a/Lib/test/test_fcntl.py +++ b/Lib/test/test_fcntl.py @@ -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)