Skip to content

incorrect aliasHandles produced. #2

@nathanday

Description

@nathanday

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions