summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-05-07 19:08:29 -0700
committerSpencer Low <CompareAndSwap@gmail.com>2015-05-07 19:08:29 -0700
commit9b9603148b0a42ee9b4fc2df76bfde31ba29c311 (patch)
treea966f7fb06aa8a1e4fadef5dc759e2d3f981dcbb /libutils/Unicode.cpp
parent0c537ce3c0733b66827e96e207d3f99394b5da20 (diff)
adb: win32: fix key files reading/writing
The issue is that adb uses fopen() with "e" (presumably to open the file with O_CLOEXEC), but that flag causes MSVCRT.DLL to return an error. So when adb_auth_host.cpp goes to read or write the adbkey files, it fails. The quick fix is to not use the "e" option on adb host code since it isn't necessary there, compared to adbd. An alternative fix would be to have a fopen() wrapper on Windows that filters out the "e" option. Change-Id: I7d8ba2847dab0ed558ffe156e79093251eb253c9 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions