Re: SymLink and FSPathMakeRef
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.