diff options
author | Elliott Hughes <enh@google.com> | 2014-11-21 19:08:15 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-21 19:08:15 +0000 |
commit | 542324f4b48897d40adb010afc440261c599633d (patch) | |
tree | 33afe52b3d0c3f082af83aba7716b8a51c223c67 /adb | |
parent | aa98c835462177597eba90eac297a1a86f4a02d0 (diff) | |
parent | 0750f78659758352490e599d057a39dc44e93340 (diff) | |
download | system_core-542324f4b48897d40adb010afc440261c599633d.zip system_core-542324f4b48897d40adb010afc440261c599633d.tar.gz system_core-542324f4b48897d40adb010afc440261c599633d.tar.bz2 |
am 0750f786: Merge "Remove explict use of ASCII encoding"
* commit '0750f78659758352490e599d057a39dc44e93340':
Remove explict use of ASCII encoding
Diffstat (limited to 'adb')
-rw-r--r-- | adb/get_my_path_darwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/get_my_path_darwin.c b/adb/get_my_path_darwin.c index 65dd226..ff1396c 100644 --- a/adb/get_my_path_darwin.c +++ b/adb/get_my_path_darwin.c @@ -24,7 +24,7 @@ void get_my_path(char *s, size_t maxLen) CFStringRef executablePathString = CFURLCopyFileSystemPath(executableURL, kCFURLPOSIXPathStyle); CFRelease(executableURL); - CFStringGetCString(executablePathString, s, maxLen, kCFStringEncodingASCII); + CFStringGetFileSystemRepresentation(executablePathString, s, maxLen); CFRelease(executablePathString); } |