fs-uae icon indicating copy to clipboard operation
fs-uae copied to clipboard

bsdsocket.library's WaitSelect ignores timeout

Open Midar opened this issue 2 years ago • 0 comments

When using WaitSelect with a timeout, WaitSelect never returns when there are no events to handle. This completely breaks using WaitSelect to peek on sockets.

This has been tested against various other implementations (MorphOS, Roadshow on a real Amiga, etc.) where it seems to work.

See https://objfw.nil.im/tktview/4c4b0ddef1 for the bug that triggered me to find this.

Midar avatar Aug 01 '23 19:08 Midar