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

Re: SymLink and FSPathMakeRef


  • Subject: Re: SymLink and FSPathMakeRef
  • From: Andreas Schwarz <email@hidden>
  • Date: Sun, 12 May 2002 15:36:53 -0700

To get the creation, modification and backup dates, I used the API
FSGetCatalogInfo, and since it requires an FSRef I used the API:
-----------
FSPathMakeRef([source fileSystemRepresentation], &sourceRef, NULL);
-----------
When source is a symLink, FSPathMakeRef creates an FSRef pointing to the
original target, instead of the symLink itself. I don't know how to get the
symLink FSRef...

I came across the same bug last month. So far as I know, there is no way to make an FSRef to a symlink; you're out of luck.

But in the event that you do find a way, please tell me! :-)

Andreas Schwarz
http://homepage.mac.com/schwarz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Displaying a menu at arbitrary location.
  • Next by Date: Re: Sound and frequences ...
  • Previous by thread: SymLink and FSPathMakeRef
  • Next by thread: Crash when using AS Studio with doc-based Cocoa app
  • Index(es):
    • Date
    • Thread