Re: Creating alias to app for PDFService
Re: Creating alias to app for PDFService
- Subject: Re: Creating alias to app for PDFService
- From: Gregory Weston <email@hidden>
- Date: Sun, 30 Apr 2006 20:15:47 -0400
On Apr 30, 2006, at 7:18 PM, Andrew Farmer wrote:
On 30 Apr 06, at 15:34, Gregory Weston wrote:
I don't know how much of an impact it will have directly here, but
please be aware that there are some differences in the way the
system handles symlinks ...
The most important differences are:
- Symbolic links don't "follow" files if they get moved - they
reference
a specific location on the hard disk, or a specific path relative to
themselves (depending on how they're created)
- Aliases aren't resolved by POSIX system calls - they just look
like files
with weird data in them.
Pick your poison.
There's also at least one bug in the way the API interacts with
symlinks. If you have an alias - not a Finder alias file, but an in-
memory alias record - that references a symlink, resolving the alias
will by default end up pointing at the file the symlink references
rather than the file system entry for the link itself. When an alias
references a Finder alias file, resolving it correctly gives you the
alias file. But we're drifting OT for this list now.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden