]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport gvanrossum's checkin of
authorMichael W. Hudson <mwh@python.net>
Fri, 23 Aug 2002 16:06:46 +0000 (16:06 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 23 Aug 2002 16:06:46 +0000 (16:06 +0000)
    revision 1.22 of test_fcntl.py

SF 554663.  Add OpenBSD3.  Bugfix candidate if anyone cares.

Lib/test/test_fcntl.py

index 1cb62b5d6d0a8d2804e8d08f1d5771984917ce65..4ead0da10ae84b2fc4d9a792660c6155fbc920dc 100755 (executable)
@@ -19,7 +19,7 @@ else:
 if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
                     'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
                     'bsdos2', 'bsdos3', 'bsdos4',
-                    'openbsd', 'openbsd2'):
+                    'openbsd', 'openbsd2', 'openbsd3'):
     lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, fcntl.F_WRLCK, 0)
 elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
     lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)