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

Unified Diff: ports/devenv/tests/devenv_small_test.cc

Issue 1742043002: Make M-x shell work in emacs. (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: fixes Created 4 years, 10 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: ports/devenv/tests/devenv_small_test.cc
diff --git a/ports/devenv/tests/devenv_small_test.cc b/ports/devenv/tests/devenv_small_test.cc
index f2bf04927ea8ab6faac01b3e5121a8f48a83c015..df05bcbcf4ba965d2e0aa82e44712b552cb9d1ec 100644
--- a/ports/devenv/tests/devenv_small_test.cc
+++ b/ports/devenv/tests/devenv_small_test.cc
@@ -9,6 +9,8 @@
#include <spawn.h>
#include <unistd.h>
+#define pipe nacl_spawn_pipe
+
static char *argv0;
// Make sure that the plumbing works.
@@ -277,7 +279,7 @@ TEST(Pipes, StdoutEcho) {
char buffer[100];
size_t total = 0;
while (total < strlen(check_msg)) {
- ssize_t len = read(pipes[0], buffer+total, sizeof(buffer));
+ ssize_t len = read(pipes[0], buffer + total, sizeof(buffer));
ASSERT_GE(len, 0);
if (len == 0) break;
total += len;

Powered by Google App Engine
This is Rietveld 408576698