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

Unified Diff: native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h

Issue 59883020: [NaCl SDK] nacl_io: Enable isatty running under sel_ldr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h
diff --git a/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h b/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h
index bf8ab53a30954085061665b848091177c2215b0b..136bdd870eb6e2ad7870e7d556b18f934dbd24cf 100644
--- a/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h
+++ b/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h
@@ -38,6 +38,8 @@ class TtyNode : public CharNode {
virtual Error Tcsetattr(int optional_actions,
const struct termios* termios_p);
+ virtual bool IsaTTY() { return true; }
+
private:
ScopedEventEmitter emitter_;

Powered by Google App Engine
This is Rietveld 408576698