From 947a0fa4f9f7dd559b59376e2847733781af3dd1 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 14 Jan 2000 16:33:09 +0000 Subject: According to Ron Bickers, and with apparent approval of Chris 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index c18d979..3e018dd 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -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) { -- cgit v0.12