Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Issue 1228053002: Change stdout/stderr to binary mode on Windows (Closed)

Created:
5 years, 5 months ago by Søren Gjesse
Modified:
5 years, 5 months ago
Reviewers:
kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Change stdout/stderr to binary mode on Windows Every other file opened in Windows is in binary mode, and there is no way of opening a file in text mode. This is a breaking change if one is relying on the CR insertion when writing to stdout/stderr on Windows. BUG=https://github.com/dart-lang/sdk/issues/19334 R=kustermann@google.com Committed: https://github.com/dart-lang/sdk/commit/4205b2997e01f2cea8e2f44c6f46ed6259ab7277

Patch Set 1 #

Patch Set 2 : Uses _O_ variants #

Patch Set 3 : Really use the _O_ version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -7 lines) Patch
M runtime/bin/file_win.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/standalone/io/stdio_nonblocking_test.dart View 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Gjesse
5 years, 5 months ago (2015-07-09 13:30:49 UTC) #1
kustermann
lgtm Does this mean that running dart programs in cmd.exe might get broken output because ...
5 years, 5 months ago (2015-07-09 14:34:28 UTC) #2
Søren Gjesse
On 2015/07/09 14:34:28, kustermann wrote: > lgtm > > Does this mean that running dart ...
5 years, 5 months ago (2015-07-10 11:55:40 UTC) #3
Søren Gjesse
5 years, 5 months ago (2015-07-10 11:57:27 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
4205b2997e01f2cea8e2f44c6f46ed6259ab7277 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698