summaryrefslogtreecommitdiffstats
path: root/fastboot/util_osx.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove explict use of ASCII encodingAl Sutton2014-11-211-1/+1
| | | | | | | | | Replace the use of CFStringGetCString with kCFStringEncodingASCII specified with CFStringGetFileSystemRepresentation which will ensure the correct character encoding is used to conver the CFString into a NULL terminated char array suitable for use with POSIX APIs. Change-Id: Ibab1dc05c4f4db8604d329a493b4241992b8e69d
* Return path including executable instead of withoutAl Sutton2014-11-201-5/+5
| | | | | | | | | | | The previous implementation returned the path the executable was in instead of returning the path including the executable (i.e. it returned ...bin instead of ...bin/executable). This is not what the original methods did and caused the process forking of adb to fail. This patch corrects the implementation. Change-Id: Ib58497cab35706041f170c1bc97c31fd5d965f90
* Fix building on modern versions of Xcode and OS X.Al Sutton2014-11-191-8/+9
| | | | | | | | | | | Recent versions of XCode fail to compile the adb and fastboot binaries due to two functions being deprecated in 10.9 (GetCurrentProcess and ProcessInformationCopyDictionary), and the use of -Werrror. This patch replaces the method implementations which use calls to methods deprecated in the 10.9 SDK with versions which only call non-deprecated methods. Change-Id: I855bf26aff45093ca9022924f3ecd1b80f2305a8
* Remove trailing whitespacesAnatol Pomazau2012-02-281-2/+2
| | | | Change-Id: I6f83333a6ee0fbc562a12bb9555c43a44c98768e
* get rid of utils/executablepath.h, which now lives in the simulatorMathias Agopian2009-05-311-1/+0
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+47
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-47/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+47