| Paste number 54729: | bdalias |
| Pasted by: | ccgus |
| 11 months, 2 weeks ago | |
| None | |
| Paste contents: |
| - (id)initWithPath:(NSString *)path relativeToPath:(NSString *)relativePath; { OSStatus anErr = noErr; FSRef ref, relRef; // MODIFIED BY GUS /* anErr = PathToFSRef((CFStringRef) [relPath stringByAppendingPathComponent:path], &ref); */ anErr = PathToFSRef((CFStringRef) path, &ref); if (anErr != noErr) { return nil; } anErr = PathToFSRef((CFStringRef) relativePath, &relRef); if (anErr != noErr) { debug(@"anErr b: %d", anErr); return nil; } return [self initWithFSRef:&ref relativeToFSRef:&relRef]; } |
Annotations for this paste:
| Annotation number 1: | bdalias ccgus patch reason |
| Pasted by: | rentzsch |
| 11 months, 2 weeks ago | |
| Paste contents: |
| "a user was complaining about moving files with documents that were relative to em, to another volume, and it was breaking" |