SymLink and FSPathMakeRef
SymLink and FSPathMakeRef
- Subject: SymLink and FSPathMakeRef
- From: Lorenzo Puleo <email@hidden>
- Date: Sun, 12 May 2002 14:53:35 +0200
Hi
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...
Any suggestion?
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
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.