]> granicus.if.org Git - python/commitdiff
Guess what -- BSD has bifurcated again. :-(
authorGuido van Rossum <guido@python.org>
Tue, 11 Aug 1998 16:21:04 +0000 (16:21 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 11 Aug 1998 16:21:04 +0000 (16:21 +0000)
Lib/test/test_fcntl.py

index 2ae6b993a5ca9dc2080c137ca28ee6db77a49a72..f2d4537f1c0521475d13c2cd98ecdc995834adcf 100755 (executable)
@@ -16,7 +16,7 @@ rv = fcntl.fcntl(f.fileno(), FCNTL.F_SETFL, os.O_NONBLOCK)
 if verbose:
     print 'Status from fnctl with O_NONBLOCK: ', rv
     
-if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3'):
+if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3', 'bsdos2', 'bsdos3'):
     lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
 elif sys.platform in ['aix3', 'aix4']:
     lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)