ndalias
ndalias copied to clipboard
incorrect aliasHandles produced.
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.
Does the same thing happen in 10.6?