]> granicus.if.org Git - python/commitdiff
Anonymous patch to add Darwin 1.2 to the list of BSDs.
authorGuido van Rossum <guido@python.org>
Thu, 12 Oct 2000 16:01:55 +0000 (16:01 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 12 Oct 2000 16:01:55 +0000 (16:01 +0000)
Let's hope this is correct (I'm not sure why the sys.platform would be
'Darwin1.2' rather than 'darwin1', which seems to be the convention).

Someone with Darwin please test this!

Lib/test/test_fcntl.py

index e1ed88b5d1d0d90c38bdfcb461b13c8d35866f59..a1da0ddc8e981528fea48abffd0f4da2e2ec669a 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',
+if sys.platform in ('netbsd1', 'Darwin1.2',
                     'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
                     'bsdos2', 'bsdos3', 'bsdos4',
                     'openbsd', 'openbsd2'):