Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/ape-select/readme
Remove incorrect setting of errno = EBADF when a select() has data or eof on read fds and no data is waiting on error fds.