You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both CFURLCreateWithFileSystemPath and FSPathMakeRef return noErr and also the incorrect result when they are given a file path that includes Finder Alias files. (in my test, I had a Finder Alias in /Applications/3rdPartyApps/DevApps/ where /Applications is a directory, 3rdPartyApps is a Unix symbolic link, and DevApps is a Finder Alias File. Both of the system calls resolved to an FSRef that just pointed to /Applications.
This is on OS X 10.5.8
My guess is, rather than use an entire path, you'll need to walk the entire pathComponents array, checking for alias files as you go. Since your package is all about aliases, you might want to look in to this.
The text was updated successfully, but these errors were encountered:
Both CFURLCreateWithFileSystemPath and FSPathMakeRef return noErr and also the incorrect result when they are given a file path that includes Finder Alias files. (in my test, I had a Finder Alias in /Applications/3rdPartyApps/DevApps/ where /Applications is a directory, 3rdPartyApps is a Unix symbolic link, and DevApps is a Finder Alias File. Both of the system calls resolved to an FSRef that just pointed to /Applications.
This is on OS X 10.5.8
My guess is, rather than use an entire path, you'll need to walk the entire pathComponents array, checking for alias files as you go. Since your package is all about aliases, you might want to look in to this.
The text was updated successfully, but these errors were encountered: