ndalias icon indicating copy to clipboard operation
ndalias copied to clipboard

incorrect aliasHandles produced.

Open nathanday opened this issue 15 years ago • 1 comments

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.

nathanday avatar Oct 17 '09 10:10 nathanday

Does the same thing happen in 10.6?

seanm avatar Oct 19 '09 04:10 seanm