• 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: FSRef_fopen alternative
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSRef_fopen alternative


  • Subject: Re: FSRef_fopen alternative
  • From: AgentM <email@hidden>
  • Date: Mon, 14 Aug 2006 14:05:27 -0400


On Aug 14, 2006, at 13:16 , Jens Ayton wrote:

Edward K. Chew:
Jerry:
Edward K. Chew:

I came across a section in my code where I call FSRef_fopen(),

Use FSRefMakePath and pass the path to fopen.

Well, that sounds like a straightforward way to go, but is it bullet-proof?

No, it isn't. However, fopen() is a path-based API; if you want to use
fopen() and related APIs, that's the cost. This is what happens when you
switch the underpinnings of an OS to modern super-duper robust Unix. :-/

Plus, there is probably a race condition lurking in there... _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >FSRef_fopen alternative (From: "Edward K. Chew" <email@hidden>)
 >Re: FSRef_fopen alternative (From: Jerry <email@hidden>)
 >Re: FSRef_fopen alternative (From: "Edward K. Chew" <email@hidden>)
 >Re: FSRef_fopen alternative (From: Jens Ayton <email@hidden>)

  • Prev by Date: Re: Subversion and Icon files in Xcode projects
  • Next by Date: Re: Subversion and Icon files in Xcode projects
  • Previous by thread: Re: FSRef_fopen alternative
  • Next by thread: Re: FSRef_fopen alternative
  • Index(es):
    • Date
    • Thread