| 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..9c6781c8394051b5b3d7bb0e275c76c112a1a573 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;
|
| }
|
| + flush(stdout);
|
| return 0;
|
| }
|
|
|