Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating alias to app for PDFService




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden


This email sent to email@hidden
References: 
 >Re: Creating alias to app for PDFService (From: Gregory Weston <email@hidden>)
 >Re: Creating alias to app for PDFService (From: Andrew Farmer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.