From 5ef8f0c3c70fbb6eb7fb801729f00cd74b8301cd Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 23 Feb 1999 04:13:37 +0000 Subject: According to Jeffrey Honig, bsd/os 4.0 should be added to the list. --- Lib/test/test_fcntl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index f2d4537..10144c3 100755 --- a/Lib/test/test_fcntl.py +++ b/Lib/test/test_fcntl.py @@ -16,7 +16,9 @@ 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', 'bsdos2', 'bsdos3'): +if sys.platform in ('netbsd1', + 'freebsd2', 'freebsd3', + 'bsdos2', 'bsdos3', 'bsdos4'): 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) -- cgit v0.12