mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 17:04:56 +00:00
141b6351ba
This CL changes File::Write on Windows to call directly to WriteFile() instead of using _write(). This avoids a number of complexities: 1. Don't need to bother with text vs. binary mode. 2. Don't need to check both errno and GetLastError if _write() fails. 3. Don't need to convert to a wchar_t* for console output since we've already set the code page to UTF8. fixes #29101 R=fschneider@google.com Review-Url: https://codereview.chromium.org/2761673002 . |
||
---|---|---|
.. | ||
bin | ||
lib | ||
api_readme.md |