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

Unified Diff: native_client_sdk/src/examples/hello_world_stdio/hello_world.c

Issue 11725003: Update make for hello examples (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo Created 7 years, 11 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/examples/hello_world_stdio/hello_world.c
diff --git a/native_client_sdk/src/examples/hello_world_stdio/hello_world.c b/native_client_sdk/src/examples/hello_world_stdio/hello_world.c
index 0d2faf14b5de91858d687f128bf742e387c2628d..a4a59f3fa8b48273ca8ea794bf2d107b3f50871e 100644
--- a/native_client_sdk/src/examples/hello_world_stdio/hello_world.c
+++ b/native_client_sdk/src/examples/hello_world_stdio/hello_world.c
@@ -35,6 +35,7 @@ int ppapi_main(int argc, const char *argv[]) {
// Use PostMessage to send "Hello World" to JavaScript.
printf("Hello World STDIO.\n");
+ fflush(stdout);
// Use PPAPI Console interface to send "Hello World" to the
// JavaScript Console.
@@ -46,5 +47,6 @@ int ppapi_main(int argc, const char *argv[]) {
printf(" ARGS: %s=%s\n", argv[index+0], argv[index+1]);
index += 2;
}
+ fflush(stdout);
return 0;
}
« no previous file with comments | « native_client_sdk/src/examples/hello_world_stdio/example.dsc ('k') | native_client_sdk/src/libraries/ppapi_main/library.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698