Re: wrapper bug?
Re: wrapper bug?
- Subject: Re: wrapper bug?
- From: "Philip Q" <email@hidden>
- Date: Tue, 15 May 2007 02:05:08 +1200
On 15/05/07, Roland Silver <email@hidden> wrote:
In my WrapperBug project folder (/Users/rollos/WrapperBug), I have a
data file called "file1" and a folder called "folder" containing an
alias to file1 called "file1Alias".
How come executing the following code results in the messages
wrapper2 filename=file1Alias
wrapper2 is a regular file
rather than
wrapper2 filename=file1Alias
wrapper2 is a link wrapper
?
Because an alias and a symbolic link are two different things.
An alias is an OS9 carry-over, which has similar functionality to a
UNIX symbolic link, but are handled very differently depending on
where you go (see:
<http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/Aliases.html>
for a better explanation).
To check if the file is an alias, use FSIsAliasFile().
-Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >wrapper bug? (From: Roland Silver <email@hidden>) |