Kaydet (Commit) 947a0fa4 authored tarafından Guido van Rossum's avatar Guido van Rossum

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!
üst 5c6634c8
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment