|
From: | Rob Burns |
Subject: | NSDocument and symlinks |
Date: | Fri, 29 Apr 2005 17:46:37 +0700 |
NSString *resolvedSymlinks = [fileName stringByResolvingSymlinksInPath];
if ([resolvedSymlinks length] > 0) {NSString *standardized = [resolvedSymlinks stringByStandardizingPath]; fileName = [standardized length] ? standardized : resolvedSymlinks;
}It all seemed to work ok after that. I specify opening from GWorkspace, because when using the Backbone projects' 'open' tool, all apps including NSDocument based apps worked fine (without the small fix). I'm not sure what the results are with the 'open' tool that comes with GNUstep.
Thanks Rob
[Prev in Thread] | Current Thread | [Next in Thread] |