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

Issue 59883020: [NaCl SDK] nacl_io: Enable isatty running under sel_ldr. (Closed)

Created:
7 years, 1 month ago by Sam Clegg
Modified:
6 years, 9 months ago
Reviewers:
binji
CC:
chromium-reviews, binji
Visibility:
Public.

Description

[NaCl SDK] nacl_io: Enable isatty running under sel_ldr. This change enabled the sel_ldr's isatty() implementation to be used, which enables color output for gtest and other terminal-based applications. Unfortunately this is newlib only right now. R=binji@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259043

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -11 lines) Patch
M native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/node.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/node.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/syscalls/isatty.c View 1 1 chunk +5 lines, -0 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/main.cc View 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/mock_node.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Sam Clegg
6 years, 9 months ago (2014-03-18 17:10:31 UTC) #1
binji
https://codereview.chromium.org/59883020/diff/30001/native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc File native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc (right): https://codereview.chromium.org/59883020/diff/30001/native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc#newcode101 native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc:101: return err; return type is bool. Do we need ...
6 years, 9 months ago (2014-03-18 19:41:17 UTC) #2
Sam Clegg
On 2014/03/18 19:41:17, binji wrote: > https://codereview.chromium.org/59883020/diff/30001/native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc > File native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc > (right): > > https://codereview.chromium.org/59883020/diff/30001/native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc#newcode101 ...
6 years, 9 months ago (2014-03-18 20:03:55 UTC) #3
Sam Clegg
Updated Isatty() tests to use EXPECT_EQ(ENOTTY)
6 years, 9 months ago (2014-03-18 20:19:40 UTC) #4
binji
lgtm
6 years, 9 months ago (2014-03-18 20:23:45 UTC) #5
Sam Clegg
6 years, 9 months ago (2014-03-24 22:40:41 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r259043 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698