• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Referring to file by Alias ^or^ path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referring to file by Alias ^or^ path


  • Subject: Re: Referring to file by Alias ^or^ path
  • From: Ed Wynne <email@hidden>
  • Date: Wed, 3 Jun 2009 01:14:26 -0400


On Jun 3, 2009, at 12:43 AM, Ken Thomases wrote:
On Jun 2, 2009, at 9:35 PM, Kyle Sluder wrote:
Is -fileSystemRepresentation smart enough to deal with filenames that
point to volumes on which the canonicalization is different than that
used on HFS+?

Its purpose isn't to match the canonicalization of the file system, it's to match the canonicalization of the kernel interface.

Actually, beyond getting stuff into UTF-8, that rationalization is bunk. Its so that encoding agnostic file systems (ahem, NFS) and things like strcmp work as consistently as can be expected(*) since they pass bytes straight through. File systems that care, like HFS, tend to validate and transform their inputs as necessary.


-Ed

(*) Which is to say, they don't really work well at all.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >Referring to file by Alias ^or^ path (From: Jerry Krinock <email@hidden>)
 >Re: Referring to file by Alias ^or^ path (From: James Walker <email@hidden>)
 >Re: Referring to file by Alias ^or^ path (From: Jerry Krinock <email@hidden>)
 >Re: Referring to file by Alias ^or^ path (From: "Stephen J. Butler" <email@hidden>)
 >Re: Referring to file by Alias ^or^ path (From: Nick Zitzmann <email@hidden>)
 >Re: Referring to file by Alias ^or^ path (From: Michael Ash <email@hidden>)
 >Re: Referring to file by Alias ^or^ path (From: Kyle Sluder <email@hidden>)
 >Re: Referring to file by Alias ^or^ path (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Referring to file by Alias ^or^ path
  • Next by Date: Re: window does not seem to respond to orderOut:
  • Previous by thread: Re: Referring to file by Alias ^or^ path
  • Next by thread: Referring to file by Alias ^or^ path
  • Index(es):
    • Date
    • Thread