• 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: My private problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My private problems


  • Subject: Re: My private problems
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Sun, 20 Apr 2008 12:18:50 +0200


On 20 Apr 2008, at 10:53, email@hidden wrote:

On Sun, Apr 20, 2008 at 3:46 AM, stephen joseph butler < email@hidden> wrote:

You can do this:

[[path stringByDeletingLastPathComponent]
stringByAppendingPathComponent:[fima pathContentOfSymbolicLinkAtPath

:path]];


I think that will work.

Actually, that won't. You have to write a special case still to handle if
the symbolic link is absolute.


What are you trying to accomplish, exactly?

I want to call statfs(), and had previously concluded that it does not follow symbolic links. It seems that on 10.4.11 this is no longer true.


So - just for fun - how can I convert the symbolic link "/tmp" into an absolute pathname?
stringByResolvingSymlinksInPath leaves it unchanged.
pathContentOfSymbolicLinkAtPath returns a relative path.
What to do?



Kind regards,

Gerriet.

_______________________________________________

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


  • Follow-Ups:
    • Re: My private problems
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: My private problems
  • Next by Date: A cursor bug in DragItemAround example
  • Previous by thread: Re: My private problems
  • Next by thread: Re: My private problems
  • Index(es):
    • Date
    • Thread