Summary: / FD_ISSET broken on phobos/D2
           Product: D
           Version: D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: druntime

--- Comment #0 from �ric Esti�venart <> 2011-01-02 
05:51:46 PST ---
Since druntime/import/core/sys/posix/sys/select.di defines wrongly FD_ISSET as:
extern (D) bool FD_ISSET(int fd, fd_set* fdset)
return (fdset.fds_bits[__FDELT(fd)] & __FDMASK(fd)) == 0;

instead of
return (fdset.fds_bits[__FDELT(fd)] & __FDMASK(fd)) != 0;

=> does not work at all.

BTW, should be const:
bool FD_ISSET(int fd, const(fd_set)* fdset)
so constness could be propagated on SocketSet...

BTW (bis) select() should be in a separate module...

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to