mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 09:43:08 +00:00
f688645909
The loop didn't correctly handle if the fd closed wasn't the last in the list, instead it would skip an entry and would accidentally consider the closed entry twice. The error handling was also wrong, where a file descriptor could be closed multiple times if an error occured after one of the file descriptors had already been closed. Additionally the POLLERR and POLLNVAL conditions were not handled. Fixes https://github.com/dart-lang/sdk/issues/40441. Change-Id: I4b4da067bbaf40af329e37ccf45d85f8bbf6c914 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134723 Commit-Queue: Jonas Termansen <sortie@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
llvm_codegen | ||
observatory | ||
platform | ||
tests/vm | ||
third_party | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
PRESUBMIT.py | ||
runtime_args.gni |