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

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_node_tty.cc

Issue 73083005: [NaCl SDK] Enable linux host build for nacl_io and nacl_io_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/mount_node_tty.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node_tty.cc b/native_client_sdk/src/libraries/nacl_io/mount_node_tty.cc
index 6b8fb66877134d19067d5b4f5fe4e600262ba66c..48581c4623f5c257f15baf71ae1bfa833492ac7a 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_node_tty.cc
+++ b/native_client_sdk/src/libraries/nacl_io/mount_node_tty.cc
@@ -16,6 +16,7 @@
#include "nacl_io/ioctl.h"
#include "nacl_io/kernel_handle.h"
+#include "nacl_io/kernel_intercept.h"
#include "nacl_io/mount.h"
#include "nacl_io/pepper_interface.h"
#include "sdk_util/auto_lock.h"
@@ -262,7 +263,7 @@ Error MountNodeTty::VIoctl(int request, va_list args) {
rows_ = size->ws_row;
cols_ = size->ws_col;
}
- kill(getpid(), SIGWINCH);
+ ki_kill(getpid(), SIGWINCH);
{
// Wake up any thread waiting on Read with POLLERR then immediate
// clear it to signal EINTR.
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_node_mem.cc ('k') | native_client_sdk/src/libraries/nacl_io/osinttypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698