From 7b458fd02a7ef238a1d24951216de763e18a535a Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Fri, 2 Mar 2012 09:14:39 -0500 Subject: [PATCH] Mystery segfault found, and removed extra / in path. --- fruitstrap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fruitstrap.c b/fruitstrap.c index 92d78d5..6693f51 100644 --- a/fruitstrap.c +++ b/fruitstrap.c @@ -1,4 +1,3 @@ -//TODO: find mystery segfault in write_gdb_prep_cmds -> CFURLCreateCopyDeletingLastPathComponent(NULL, disk_app_url) //TODO: don't copy/mount DeveloperDiskImage.dmg if it's already done - Xcode checks this somehow #import @@ -93,7 +92,7 @@ CFStringRef copy_device_support_path(AMDeviceRef device) { } if (!found) { - path = CFStringCreateWithFormat(NULL, NULL, CFSTR("/Applications/Xcode.app/Contents//Developer/Platforms/iPhoneOS.platform/DeviceSupport/%@"), version); + path = CFStringCreateWithFormat(NULL, NULL, CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/%@"), version); found = path_exists(path); }