summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-01-14 16:33:09 (GMT)
committerGuido van Rossum <guido@python.org>2000-01-14 16:33:09 (GMT)
commit947a0fa4f9f7dd559b59376e2847733781af3dd1 (patch)
treef136820513f110b02a23a7f218bb7e3bab9978fe /Modules
parent5c6634c807c193e06a0bf78171032a35cfa57cbd (diff)
downloadcpython-947a0fa4f9f7dd559b59376e2847733781af3dd1.zip
cpython-947a0fa4f9f7dd559b59376e2847733781af3dd1.tar.gz
cpython-947a0fa4f9f7dd559b59376e2847733781af3dd1.tar.bz2
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!
Diffstat (limited to 'Modules')
-rw-r--r--Modules/selectmodule.c2
1 files changed, 1 insertions, 1 deletions
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) {