site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com