Mercurial > cpython-lru_cache-weakref
diff Modules/selectmodule.c @ 11656:db756d31e727 legacy-trunk
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!
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 14 Jan 2000 16:33:09 +0000 |
| parents | 6aac31cd2102 |
| children | dc65c5f6ad7c |
line wrap: on
line diff
--- a/Modules/selectmodule.c Thu Jan 13 16:26:35 2000 +0000 +++ b/Modules/selectmodule.c Fri Jan 14 16:33:09 2000 +0000 @@ -143,7 +143,7 @@ "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) {
