]> granicus.if.org Git - python/commitdiff
According to Ron Bickers, and with apparent approval of Chris
authorGuido van Rossum <guido@python.org>
Fri, 14 Jan 2000 16:33:09 +0000 (16:33 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Jan 2000 16:33:09 +0000 (16:33 +0000)
Herborth, the code in list2set() that sets max unconditionally to 0
should not be used on BeOS.  So be it.  Anybody using BeOS, please
test!

Modules/selectmodule.c

index c18d979828ebb7e75314085eb0bc6e1e358ef1f3..3e018dd9dd0f79ed957cabc5099bddf6afe0d68b 100644 (file)
@@ -143,7 +143,7 @@ list2set(list, set, fd2obj)
                        "argument must be an int, or have a fileno() method.");
                        goto finally;
                }
-#if defined(_MSC_VER) || defined(__BEOS__)
+#if defined(_MSC_VER)
                max = 0;                     /* not used for Win32 */
 #else  /* !_MSC_VER */
                if (v < 0 || v >= FD_SETSIZE) {