commit | bfb0477f1d0210e117f66f36128f9cc0ca962b6e | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Sat Feb 27 06:16:41 2010 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Sat Feb 27 06:16:41 2010 -0800 |
tree | 4378ecbb8185d0bdeaef74c057e47eb24ad5d8b0 | |
parent | 85cf56892dcc4d38cdd62e0690b2c5388e0880b2 [diff] | |
parent | dd6b36e334809e7a99f0bce45353cdd7e4dac4e1 [diff] |
Merge "adb: do not mix printf() with write() when writing to stdout."
diff --git a/adb/commandline.c b/adb/commandline.c index 0352cf2..cd84c3a 100644 --- a/adb/commandline.c +++ b/adb/commandline.c
@@ -221,8 +221,8 @@ if(errno == EINTR) continue; break; } - /* we want to output to stdout, so no adb_write here !! */ - unix_write(1, buf, len); + fwrite(buf, 1, len, stdout); + fflush(stdout); } }