{"push_id":549293105,"size":1,"distinct_size":1,"ref":"refs/heads/pac-5.0","head":"2ba3f00b3b46195851cd4ab4748e5b4656ba40b9","before":"ec89ed14c898fcdf271f5c96928a1464a11b3cda","commits":[{"sha":"2ba3f00b3b46195851cd4ab4748e5b4656ba40b9","author":{"email":"2f9ee2b336682012cb445da6f3a0a52c68caf471@funkyandroid.com","name":"Al Sutton"},"message":"Fix building on modern versions of Xcode and OS X.\n\nRecent versions of XCode fail to compile the adb and fastboot binaries due to\ntwo functions being deprecated in 10.9 (GetCurrentProcess and\nProcessInformationCopyDictionary), and the use of -Werrror.\n\nThis patch replaces the method implementations which use calls to methods\ndeprecated in the 10.9 SDK with versions which only call non-deprecated methods.\n\nReturn path including executable instead of without\n\nThe previous implementation returned the path the executable was in instead\nof returning the path including the executable (i.e. it returned ...bin\ninstead of ...bin/executable). This is not what the original methods did\nand caused the process forking of adb to fail.\n\nThis patch corrects the implementation.\n\nRemove explict use of ASCII encoding\n\nReplace the use of CFStringGetCString with kCFStringEncodingASCII specified\nwith CFStringGetFileSystemRepresentation which will ensure the correct\ncharacter encoding is used to conver the CFString into a NULL terminated\nchar array suitable for use with POSIX APIs.\nChange-Id: Ibab1dc05c4f4db8604d329a493b4241992b8e69d\n\nChange-Id: I855bf26aff45093ca9022924f3ecd1b80f2305a8","distinct":true,"url":"https://api.github.com/repos/PAC-man/android_system_core/commits/2ba3f00b3b46195851cd4ab4748e5b4656ba40b9"}]}