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

Unified Diff: native_client_sdk/src/tests/nacl_io_test/tty_test.cc

Issue 262803014: Fix typo, "recieve" -> "receive", in NaCl/SDK code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« no previous file with comments | « native_client_sdk/src/examples/tutorial/using_ppapi_simple/example.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/tests/nacl_io_test/tty_test.cc
diff --git a/native_client_sdk/src/tests/nacl_io_test/tty_test.cc b/native_client_sdk/src/tests/nacl_io_test/tty_test.cc
index de9e978170c05a792af2bd5b6ef050eb25c178e5..1cfafb1e5b71f79cc53427a7b09e54044043ad0e 100644
--- a/native_client_sdk/src/tests/nacl_io_test/tty_test.cc
+++ b/native_client_sdk/src/tests/nacl_io_test/tty_test.cc
@@ -238,9 +238,9 @@ TEST_F(TtyTest, TtyICANON) {
ASSERT_EQ(0, IsReadable(tty_fd));
}
-static int g_recieved_signal;
+static int g_received_signal;
-static void sighandler(int sig) { g_recieved_signal = sig; }
+static void sighandler(int sig) { g_received_signal = sig; }
TEST_F(TtyTest, WindowSize) {
// Get current window size
@@ -252,14 +252,14 @@ TEST_F(TtyTest, WindowSize) {
sighandler_t old_handler = ki_signal(SIGWINCH, new_handler);
ASSERT_NE(SIG_ERR, old_handler) << "signal return error: " << errno;
- g_recieved_signal = 0;
+ g_received_signal = 0;
// Set a new windows size
struct winsize winsize;
winsize.ws_col = 100;
winsize.ws_row = 200;
EXPECT_EQ(0, dev_tty_->Ioctl(TIOCSWINSZ, &winsize));
- EXPECT_EQ(SIGWINCH, g_recieved_signal);
+ EXPECT_EQ(SIGWINCH, g_received_signal);
// Restore old signal handler
EXPECT_EQ(new_handler, ki_signal(SIGWINCH, old_handler));
« no previous file with comments | « native_client_sdk/src/examples/tutorial/using_ppapi_simple/example.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698