summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-08-01 17:29:23 -0700
committerElliott Hughes <enh@google.com>2015-08-03 13:24:18 -0700
commit22191c30a63da7ca951281fffcb1fd59ae40dd54 (patch)
treeaab905c4e123fe0583af1f1e33db96642d9a8e50 /libcutils/socket_local_server_unix.cpp
parent8c61e0297c95a61bd3891704e7530ca1436a6421 (diff)
adb: fix mkdirs / adb pull with relative paths, fix win32 issues
Relative paths were being prefixed with OS_PATH_SEPARATOR on unix and win32 causing adb to incorrectly try to make directories at the root. Plus, absolute paths didn't work on win32 (C: got prefixed into \C:). This fix is to use dirname (available on win32 via mingw's crt) to do the messy parsing. I added a test for the relative path case. Change-Id: Ibb0a4a8ec7756351d252a4d267122ab18e182858 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions