Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[io/watcher] Fix crash in file event watcher functionality on Windows.
It is possible to get '-1' bytes reported as available. This change ensures that only positive number of available bytes are being read. Fixes #40348 Change-Id: I9f76bd7ca725c9e48ae5a9c44a25d3c12a487194 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164340 Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Alexander Aprelev <[email protected]>
- Loading branch information