• 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: Unicode filename and FSPathMakeRef
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode filename and FSPathMakeRef


  • Subject: Re: Unicode filename and FSPathMakeRef
  • From: Rosyna <email@hidden>
  • Date: Thu, 3 Jan 2002 22:11:50 -0700

This is pointless as Cocoa fails if the path is over 1024 chars. by fail, I mean crashes in most instances.

Ack, at 1/3/02, Chris Hanson said:

You shouldn't use FSRefMakePath -- there's no way to tell in advance how long the path will be, so you can't know how large a buffer to pass it. If you just randomly pick a size -- 1024 bytes, or 2048, or 4096, or whatever -- it *will* be wrong for some user's system (particularly when using multibyte character sets) and you'll have needlessly built some fragile software.

--



Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insane People


References: 
 >Re: Unicode filename and FSPathMakeRef (From: Johnny CN Lee <email@hidden>)
 >Re: Unicode filename and FSPathMakeRef (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: The ULTIMATE Cocoa Development Language
  • Next by Date: Re: The ULTIMATE Cocoa Development Language
  • Previous by thread: Re: Unicode filename and FSPathMakeRef
  • Next by thread: Re: Unicode filename and FSPathMakeRef
  • Index(es):
    • Date
    • Thread