summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-05-20 23:17:26 -0700
committerSpencer Low <compareandswap@gmail.com>2015-06-02 21:04:56 +0000
commitd0f66c361641dc30162877ee3e4b4690d6833442 (patch)
tree7e70c74ca334065f521553314aa03c05bd01303a /libutils/Unicode.cpp
parent1333694c859d7e09f6a80546cb2cdc225430c897 (diff)
adb: win32: fix logging to adb.log
In the adb client, redirect stdin and stderr of the adb server to `nul', so that when the adb server starts up, it avoids issues in the C Runtime where it closes stderr, making it hard to properly reopen. There are probably other ways to avoid this issue, but I think this is the cleanest that will keep working over the years and will exercise the most commonly used code-paths in the C Runtime. Fix some adb_close() calls to be unix_close() (only really matters on Windows). Make stderr non-buffered on Windows, to match the (sensible) Linux behavior. Change-Id: I1b15c64240e50dbeb56788b0d0d901f4536ad788 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions