2b9140a8f7
Instead of writing errno into stderr via perror include it into FATAL message. This will help us to dignoze the problem in environments where FATAL messages are preserved as part of the crash report. TEST=tested manually by changing write() parameters to be invalid Bug: b/279184589 Change-Id: I45424af6064f9eec258a3bff1f96488b8a60f095 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/298862 Commit-Queue: Slava Egorov <vegorov@google.com> Reviewed-by: Brian Quinlan <bquinlan@google.com>