Permalink
Browse files

Mystery segfault found, and removed extra / in path.

  • Loading branch information...
1 parent 28f0fed commit 7b458fd02a7ef238a1d24951216de763e18a535a Cory McWilliams committed Mar 2, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 fruitstrap.c
View
@@ -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 <CoreFoundation/CoreFoundation.h>
@@ -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);
}

0 comments on commit 7b458fd

Please sign in to comment.