Re: Unicode filename and FSPathMakeRef
Re: Unicode filename and FSPathMakeRef
- Subject: Re: Unicode filename and FSPathMakeRef
- From: Chris Hanson <email@hidden>
- Date: Fri, 4 Jan 2002 17:21:06 -0600
At 8:38 AM -0200 1/4/02, Rainer Brockerhoff wrote:
Unfortunately, CFURLCreateWithFSRef calls FSRefMakePath internally,
and uses a buffer of 1024 bytes with that. (All CF calls assume a
maximum pathlength of 1024). At least in Darwin's CoreFoundation...
Mac OS X's CF is supposed to be somewhat different, but probably not
in that regard.
Wow. What crap.
Core Foundation is so nice in some ways, and then you run into things
like this path name length limit and the lack of any error reporting
for calls that can fail. I have to wonder what the people who
designed it were smoking. At least the path name length limit can be
fixed transparently (to Core Foundation users anyway).
-- Chris
--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Making Business Distributed | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden