mirror of
https://github.com/python/cpython.git
synced 2025-11-11 06:39:54 +00:00
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!
This commit is contained in:
parent
5c6634c807
commit
947a0fa4f9
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ list2set(list, set, fd2obj)
|
||||||
"argument must be an int, or have a fileno() method.");
|
"argument must be an int, or have a fileno() method.");
|
||||||
goto finally;
|
goto finally;
|
||||||
}
|
}
|
||||||
#if defined(_MSC_VER) || defined(__BEOS__)
|
#if defined(_MSC_VER)
|
||||||
max = 0; /* not used for Win32 */
|
max = 0; /* not used for Win32 */
|
||||||
#else /* !_MSC_VER */
|
#else /* !_MSC_VER */
|
||||||
if (v < 0 || v >= FD_SETSIZE) {
|
if (v < 0 || v >= FD_SETSIZE) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue