Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
- Subject: Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
- From: Keith Stattenfield <email@hidden>
- Date: Tue, 20 Oct 2009 15:16:52 -0700
On Oct 20, 2009, at 2:49 PM, Glenn Anderson wrote:
> At 9:49 am -0700 20/10/2009, Jens Alfke wrote:
>> On Oct 20, 2009, at 5:30 AM, rohan a wrote:
>>
>>> I created a file 1.alias (regular file) and surprisingly
>>> FSIsAliasFile() has recognized it as an alias file. This is such
>>> strange behavior.
>>
>> Why?
>
> Because alias files don't have a .alias suffix, only things that aren't alias files do.
Apple reserved ".alias" as an extension for aliases, although at current we don't add this to newly created extensions nor require it to be on them. However, in the future we may, and in order for older system to read aliases created on these newer systems FSIsAliasFile() will attempt to read alias data from such files even if they don't have the isAlias bit set in Finder info.
-Keith _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden