Index: src/OFStreamObserver.m ================================================================== --- src/OFStreamObserver.m +++ src/OFStreamObserver.m @@ -180,13 +180,10 @@ withFDSet: (fd_set*)fdset { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; int fd = [stream fileDescriptor]; - if (fd >= FD_SETSIZE) - @throw [OFOutOfRangeException newWithClass: isa]; - FD_SET(fd, fdset); FD_SET(fd, &exceptfds); if (fd >= nfds) nfds = fd + 1; @@ -198,13 +195,10 @@ withFDSet: (fd_set*)fdset otherFDSet: (fd_set*)other_fdset { int fd = [stream fileDescriptor]; - if (fd >= FD_SETSIZE) - @throw [OFOutOfRangeException newWithClass: isa]; - FD_CLR(fd, fdset); if (!FD_ISSET(fd, other_fdset)) FD_CLR(fd, &exceptfds); }