mirror of
https://review.haiku-os.org/haiku
synced 2025-02-12 08:39:18 +01:00
We shouldn't proceed to "wait" if we got errors back from "select", but should just return the count of errors-reported-as-events directly, or return the status if we can't report them that way. Fixes libevent kqueue backend hanging forever on startup. (cherry picked from commit 380ed24e115ca3169ca718412b3ddd3728fdda8d) Change-Id: Ia725c74219139199db2dd8cf0dc29337bb97c4f8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8019 Reviewed-by: waddlesplash <waddlesplash@gmail.com>